WARNING: file_put_contents(): Only 0 of 10 bytes written, possibly out of free disk space in /home/wwwroot/shop_yunsuanfangzhou/protected/lib/utilities.php on line 11
- /home/wwwroot/shop_yunsuanfangzhou/protected/include/core.php on line 554
549.
case E_NOTICE: $msg = "NOTICE"; break;
550.
case E_STRICT: $msg = "STRICT"; break;
551.
case 8192: $msg = "DEPRECATED"; break;
552.
default : $msg = "Unknown Error Type";
553.
}
554.
555.
err("$msg: $errstr in $errfile on line $errline");
}
556.
557.
function err($msg)
558.
{
559.
$traces = debug_backtrace();
- /home/wwwroot/shop_yunsuanfangzhou/protected/lib/utilities.php on line 11
6.
$timer = APP_DIR.DS.'protected'.DS.'resources'.DS.'timer.txt';
7.
if($_SERVER['REQUEST_TIME'] - (int)file_get_contents($timer) >= $interval)
8.
{
9.
$order_model = new order_model();
10.
$order_model->expired();
11.
12.
file_put_contents($timer, $_SERVER['REQUEST_TIME']);
}
13.
}
14.
}
- /home/wwwroot/shop_yunsuanfangzhou/protected/controller/general_controller.php on line 14
9.
$this->common = array
10.
(
11.
'baseurl' => $GLOBALS['cfg']['http_host'],
12.
'theme' => $GLOBALS['cfg']['http_host'].'/public/theme/frontend/'.$GLOBALS['cfg']['enabled_theme'],
13.
);
14.
15.
utilities::crontab();
}
16.
17.
protected function compiler($tpl_name)
18.
{
19.
$this->display('frontend'.DS.$GLOBALS['cfg']['enabled_theme'].DS.$tpl_name);
- /home/wwwroot/shop_yunsuanfangzhou/protected/include/core.php on line 171
166.
{
167.
private $_v;
168.
private $_data = array();
169.
170.
public function init(){}
171.
172.
public function __construct(){$this->init();}
public function __get($name){return $this->_data[$name];}
173.
public function __set($name, $value){$this->_data[$name] = $value;}
174.
175.
public function display($tpl_name)
176.
{
- /home/wwwroot/shop_yunsuanfangzhou/protected/include/core.php on line 84
79.
session_start();
80.
81.
$controller_name = $__controller.'_controller';
82.
$action_name = 'action_'.$__action;
83.
if(!class_exists($controller_name, true)) err("Err: Controller '$controller_name' is not exists!");
84.
85.
$controller_obj = new $controller_name();
if(!method_exists($controller_obj, $action_name)) err("Err: Method '$action_name' of '$controller_name' is not exists!");
86.
87.
$controller_obj->$action_name();
88.
89.
function url($c = 'main', $a = 'index', $param = array()) {
- /home/wwwroot/shop_yunsuanfangzhou/index.php on line 5
1.
<?php
2.
define('APP_DIR', realpath('./'));
3.
defined('DS') or define('DS', DIRECTORY_SEPARATOR);
4.
define('INCL_DIR', APP_DIR.DS.'protected'.DS.'include');
5.
require(INCL_DIR.DS.'core.php');