乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      Deprecated: Function ereg

       子夜魔城 2016-01-19

      這個問題是因為你用的php版本過高。

      在php5.3中,正則函數(shù)ereg_replace已經(jīng)廢棄,而dedecms還繼續(xù)用。有兩個方案可以解決以上問題:

      1、把php版本換到v5.3下。

      2、繼續(xù)使用v5.3,修改php.ini文件

      ;extension=php_mbstring.dll

      改為

      extension=php_mbstring.dll

      ;mbstring.func_overload = 0

      修改為:

      mbstring.func_overload = 7

      或者使用其他的函數(shù):

      define('DEDEADMIN', ereg_replace("[/\\]{1,}", '/', dirname(__FILE__) ) );
      //改為
      define('DEDEADMIN', preg_replace("/[\/\\\\]{1,}/", '/', dirname(__FILE__) ) );

      注:因為preg_replace比ereg_replace的執(zhí)行速度快,PHP推薦使用preg_replace.

        本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多