关闭ZENCART头部安装文件夹和配置文件读写错误警告如何关闭ZENCART头部安装文件夹和配置文件读写错误警告?
此部分显示的判断在目录includes\init_includes下面的init_header.php文件里。 注释 /* if (WARN_INSTALL_EXISTENCE == 'true') { $check_path = realpath(dirname(basename($PHP_SELF)) . '/zc_install'); if (is_dir($check_path)) { $messageStack->add('header', sprintf(WARNING_INSTALL_DIRECTORY_EXISTS, ($check_path == '' ? '..../zc_install' : $check_path)), 'warning'); } } // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { $check_path = realpath(dirname(basename($PHP_SELF)) . '/includes/configure.php'); if (file_exists($check_path) && is__writeable($check_path)) { $messageStack->add('header', sprintf(WARNING_CONFIG_FILE_WRITEABLE, ($check_path == '' ? '..../includes/configure.php' : $check_path)), 'warning'); } }*/ 此部分内容即可。
没有评论
|
|
Copyright © 2012-2013 迪赛普科技 版权所有
合作邮箱:admin@desipo.com 合作QQ:76052083 |