public function before($context) { if (false == BackYardAuth::authAdmin4Interceptor()) { echo '系统错误,请联系技术人员!!!'; exit; } }
public function showList($request, $response) {/*{{{*/ if(false == BackYardAuth::authAdmin4Interceptor()) { echo '系统错误,请联系技术人员!!!';exit; } $response->fileList = self::getUrl(); }/*}}}*/
| license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Author: Harun Yayli <harunyayli at gmail.com> | +----------------------------------------------------------------------+ */ require 'init.php'; include '/home/avatar/system/libs/service_common/dalsetting.php'; $MEMCACHE_SERVERS = array(); foreach ($caches as $sets) { foreach ($sets as $set) { $MEMCACHE_SERVERS[] = "{$set['host']}:{$set['port']}"; // add more as an array } } $MEMCACHE_SERVERS = array_values(array_unique($MEMCACHE_SERVERS)); if (false == BackYardAuth::authAdmin4Interceptor()) { echo '系统错误,请联系技术人员!!!'; exit; } $VERSION = '$Id: memcache.php,v 1.2 2008/09/11 19:21:06 mikl Exp $'; define('ADMIN_USERNAME', 'root'); // Admin Username define('ADMIN_PASSWORD', 'haodf.com'); // Admin Password define('DATE_FORMAT', 'Y/m/d H:i:s'); define('GRAPH_SIZE', 200); define('MAX_ITEM_DUMP', 50); $request = new Request(); if (false == $request->op) { $request->op = 1; }