為啥不在PHP直接date_default_timezone_set('PRC'); data('Y-m-d H:i:s');
2018-04-23
關(guān)鍵時(shí)刻都是為了節(jié)省時(shí)間我這邊代碼已經(jīng)提前寫(xiě)好了
2018-04-05
最新回答 / 鋼鐵俠Mac
第2張圖 <? ?>改為 <?php ?>
$smarty->setLeftDelimiter('{'); //左定界符
$smarty->setRightDelimiter('}'); //右定界符
$smarty->setTemplateDir('tpl'); //html模板的地址
$smarty->setCompileDir('template_c'); //模板編譯生成的文件
$smarty->setCacheDir('cache'); //緩存地址
$smarty->setCaching(Smarty::CACHING_LIFETIME_CURRENT);
$smarty->setCacheLifetime(300);
$smarty->setRightDelimiter('}'); //右定界符
$smarty->setTemplateDir('tpl'); //html模板的地址
$smarty->setCompileDir('template_c'); //模板編譯生成的文件
$smarty->setCacheDir('cache'); //緩存地址
$smarty->setCaching(Smarty::CACHING_LIFETIME_CURRENT);
$smarty->setCacheLifetime(300);
2018-03-11
Fatal error: require_once(): Failed opening required './libs/Controller/indexController.class.php' (include_path='.;C:\php\pear') in D:\develop\wamp\www\MVC\function.php on line 3
2018-03-05