的“老派” —点菜EE1 —方式来马对EE2中控制面板的sk访问仍然是可能的。
打开了/system/index.php
并取消define('MASKED_CP', TRUE);
:
/*
* --------------------------------------------------------------------
* MASKED CP ACCESS
* --------------------------------------------------------------------
*
* This lets the system know whether or not the control panel is being
* accessed from a location outside the system folder
*
* NOTE: If you set this, be sure that you set the $system_path and the
* 'cp_url' item in the $assign_to_config array below!
*
*/
define('MASKED_CP', TRUE);
在同一文件中,取消和以下两个变量设置为您的新环境:
$system_path = "./masked-system";
$assign_to_config['cp_url'] = 'http://example.com/masked-system/index.php';
这是另一种方式面具访问控制面板。
在ExpressionEngine用户指南中,重命名admin.php
的技术要容易得多,建议作为Post-Installation Best Practice。
来源
2011-11-10 03:12:50
rjb
这根本不会帮助你解决问题,但是当我不得不处理EE时,我发现严重的代码点火器知识并没有帮助我。也可能被遗忘,它与CI有任何关系。 –