的「老派」 —點菜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有任何關係。 –