Skip to content

Instantly share code, notes, and snippets.

Created December 20, 2012 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4344110 to your computer and use it in GitHub Desktop.
Save anonymous/4344110 to your computer and use it in GitHub Desktop.
<?php
define('IN_SAESPOT', 1);
include(dirname(__FILE__) . '/config.php');
include(dirname(__FILE__) . '/common.php');
include(dirname(__FILE__) . '/plus/getkey/scws.php');//加载分词
if (!$cur_user){
header('location: /login');
exit('error: 401 login please');
}
if ($cur_user['flag']==0){
exit('error: 403 Access Denied');
}else if($cur_user['flag']==1){
exit('error: 401 Access Denied');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment