PHP5.3中已经废掉ereg_replace,换成preg_replace
解决方法:
把:dede\config.php 中 define('DEDEADMIN', ereg_replace("[/\\]{1,}", '/', dirname(__FILE__) ) );
换成:define('DEDEADMIN', preg_replace("/[\/\\\\]{1,}/", '/', dirname(__FILE__) ) );
PHP5.3中已经废掉ereg_replace,换成preg_replace
解决方法:
把:dede\config.php 中 define('DEDEADMIN', ereg_replace("[/\\]{1,}", '/', dirname(__FILE__) ) );
换成:define('DEDEADMIN', preg_replace("/[\/\\\\]{1,}/", '/', dirname(__FILE__) ) );