本文共 250 字,大约阅读时间需要 1 分钟。
1.
foreach (Mage::app()->getCacheInstance()->getTypes() as $type) {
$dd = array("status"=>$type['status'],"cache_type"=>$type['cache_type']); $cachearray[] = $dd;}
2.
if (defined('COMPILER_INCLUDE_PATH')) {
$iscompiler = 1; }else{ $iscompiler = 0; }转载地址:http://gxbli.baihongyu.com/