Skip to content

Instantly share code, notes, and snippets.

/gist:4344110

Created Dec 20, 2012
Embed
What would you like to do?
<?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