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