'.$info); } function loadInfo($filename) { $logFile = dirname( __FILE__ ).'/'.DATA_PATH.'/'.$filename.'.php'; if(!file_exists($logFile)) return false; $info=@file_get_contents($logFile); if(strncmp($info,'',15)!=0) return false; $info=substr($info,15); if(ENABLE_ENCRYPT) $info=decrypt($info,ENCRYPT_PASS); else $info=base64_decode($info); if(!preg_match('/^[A-Za-z0-9\x00-\x80~!@#$%&_+-=:";\'<>,\/"\[\]\\\^\.\|\?\*\+\(\)\{\}\s]+$/',$info)) return false; $info=json_decode($info); return $info; } ?>