- Timestamp:
- 2011/01/17 03:28:37 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/admin/basis/LC_Page_Admin_Basis.php
r19875 r19937 222 222 } 223 223 224 //管理機能ディレクトリのリネームと install.phpの変更224 //管理機能ディレクトリのリネームと CONFIG_REALFILE の変更 225 225 function lfUpdateAdminData($array){ 226 226 $admin_dir = trim($array['admin_dir'])."/"; … … 240 240 $admin_allow_hosts = serialize($admin_allow_hosts); 241 241 242 // 権限チェック243 if(!is_writable( DATA_REALDIR . "install.php")){244 $this->arrErr["admin_force_ssl"] = DATA_REALDIR . "install.phpを変更する権限がありません。";242 // 権限チェック 243 if(!is_writable(CONFIG_REALFILE)){ 244 $this->arrErr["admin_force_ssl"] = CONFIG_REALFILE . ' を変更する権限がありません。'; 245 245 return false; 246 246 } 247 247 248 // install.phpの書き換え249 $installData = file( DATA_REALDIR."install.php",FILE_IGNORE_NEW_LINES);248 // CONFIG_REALFILE の書き換え 249 $installData = file(CONFIG_REALFILE, FILE_IGNORE_NEW_LINES); 250 250 $diff = 0; 251 251 foreach($installData as $key=>$line){
Note: See TracChangeset
for help on using the changeset viewer.