修改版本号为4.0beta

This commit is contained in:
thinkphp
2013-03-13 16:58:43 +08:00
parent ef2cd3baf7
commit e43e62197b

View File

@@ -10,15 +10,11 @@
// +----------------------------------------------------------------------
// $Id$
if(version_compare(PHP_VERSION,'5.3.0','<')) die('require PHP > 5.3.0 !');
if(version_compare(PHP_VERSION,'5.4.0','<')) {
ini_set('magic_quotes_runtime',0);
define('MAGIC_QUOTES_GPC',get_magic_quotes_gpc()?True:False);
}else{
define('MAGIC_QUOTES_GPC',false);
}
if(version_compare(PHP_VERSION,'5.4.0','<')) die('require PHP > 5.4.0 !');
define('MAGIC_QUOTES_GPC',false);
// 版本信息
define('THINK_VERSION', '4.0');
define('THINK_VERSION', '4.0beta');
// 系统常量
defined('THINK_PATH') or define('THINK_PATH', dirname(__FILE__).'/');
defined('CORE_PATH') or define('CORE_PATH', THINK_PATH.'Think/');