Ejemplo n.º 1
0
 public function before($context)
 {
     if (false == BackYardAuth::authAdmin4Interceptor()) {
         echo '系统错误,请联系技术人员!!!';
         exit;
     }
 }
Ejemplo n.º 2
0
 public function showList($request, $response)
 {/*{{{*/
     if(false == BackYardAuth::authAdmin4Interceptor())
     {
         echo '系统错误,请联系技术人员!!!';exit;
     }
     $response->fileList = self::getUrl();
 }/*}}}*/
Ejemplo n.º 3
0
  | 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;
}