* adjust the error info.

This commit is contained in:
wangchunsheng
2012-05-02 11:50:54 +00:00
parent 6213cbf421
commit 92c787bddc
+2 -1
View File
@@ -9,10 +9,11 @@
* @version $Id$
* @link http://www.zentao.net
*/
/* Judge my.php exists or not. */
$myConfig = dirname(dirname(__FILE__)) . '/config/my.php';
if(!file_exists($myConfig))
{
echo "文件" . $myConfig . "不存在! 提示:不要重命名zentao再覆盖!" . "<br />";
echo "文件" . $myConfig . "不存在! 提示:不要重命名原来的禅道安装目录,下载最新的源码包,覆盖即可。" . "<br />";
echo $myConfig . " doesn't exists! Please don't rename zentao before overriding the source code!";
exit;
}