* code for task#778.

This commit is contained in:
chencongzhi520@gmail.com
2012-05-01 03:33:57 +00:00
parent 32662dcf78
commit 8f22a73b5c
+4 -2
View File
@@ -9,9 +9,11 @@
* @version $Id$
* @link http://www.zentao.net
*/
if(!file_exists("../config/my.php"))
$myConfig = dirname(dirname(__FILE__)) . '/config/my.php';
if(!file_exists($myConfig))
{
echo dirname(dirname(__FILE__)) . "/config/my.php doesn't exists! Please don't rename zentao before override source code!";
echo "文件" . $myConfig . "不存在! 提示:不要重命名zentao再覆盖!" . "<br />";
echo $myConfig . " doesn't exists! Please don't rename zentao before override source code!";
exit;
}