1 changed files with 59 additions and 30 deletions
@ -1,31 +1,60 @@ |
|||||||
<?php |
<?php |
||||||
|
|
||||||
/** |
/** |
||||||
|
|
||||||
* Created by xiaofu.qin |
* Created by xiaofu.qin |
||||||
|
|
||||||
*/ |
*/ |
||||||
|
|
||||||
ini_set('session.use_only_cookies', true); |
ini_set('session.use_only_cookies', true); |
||||||
|
|
||||||
session_start(); |
session_start(); |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
require_once 'myFunc/isLocal.php'; |
require_once 'myFunc/isLocal.php'; |
||||||
|
|
||||||
if( !isLocal() ) { |
if( !isLocal() ) { |
||||||
|
|
||||||
error_reporting(0); |
error_reporting(0); |
||||||
|
|
||||||
} |
} |
||||||
|
|
||||||
|
|
||||||
define('FINEREPORT', 100); |
define('FINEREPORT', 100); |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
require_once 'ucenter_syn_login_and_logout_api.php'; |
require_once 'ucenter_syn_login_and_logout_api.php'; |
||||||
|
|
||||||
print login('upc', 'yudanyunyu'); |
print login('upc', 'yudanyunyu'); |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//ini_set('display_errors', 1); |
//ini_set('display_errors', 1); |
||||||
|
|
||||||
//error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING); |
//error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING); |
||||||
|
|
||||||
// |
// |
||||||
|
|
||||||
////引用静态资源管理类 |
////引用静态资源管理类 |
||||||
|
|
||||||
//require_once 'Resource.class.php'; |
//require_once 'Resource.class.php'; |
||||||
|
|
||||||
////设置配置和模板文件夹,这是指打包之后的配置和模板文件夹 |
////设置配置和模板文件夹,这是指打包之后的配置和模板文件夹 |
||||||
|
|
||||||
//$root = dirname(__FILE__) . DIRECTORY_SEPARATOR; |
//$root = dirname(__FILE__) . DIRECTORY_SEPARATOR; |
||||||
|
|
||||||
//FISResource::setConfig(array( |
//FISResource::setConfig(array( |
||||||
|
|
||||||
// 'config_dir' => $root . '/tpl/config/', |
// 'config_dir' => $root . '/tpl/config/', |
||||||
|
|
||||||
// 'template_dir' => $root . '/tpl/' |
// 'template_dir' => $root . '/tpl/' |
||||||
|
|
||||||
//)); |
//)); |
||||||
|
|
||||||
// |
// |
||||||
|
|
||||||
////渲染登录页面 |
////渲染登录页面 |
||||||
|
|
||||||
//display("page/login.php"); |
//display("page/login.php"); |
Loading…
Reference in new issue