Exception: FLEA_Exception_ExpectedFile
Message: Required file "/www/web/default/gen2/jinxingkeji/data/language/cn}}/ui.php" is missing.
Filename: /www/web/default/gen2/jinxingkeji/libs/FLEA/FLEA/Language.php [127]
#8 FLEA_Language::load('ui', '', )
ARGS:
Array
(
[0] => ui
[1] =>
[2] =>
)
SOURCE CODE:
117 |
* @return boolean
|
118 |
*/
|
119 |
function load_language($dictname, $language = '', $noException = false)
|
120 |
{
|
121 |
static $instance = null;
|
122 |
if (!isset($instance['obj'])) {
|
123 |
$instance = array();
|
124 |
$obj =& FLEA::getSingleton('FLEA_Language');
|
125 |
$instance = array('obj' => & $obj);
|
126 |
}
|
127 |
return $instance['obj']->load($dictname, $language, $noException);
|
128 |
}
|
129 |
|
130 |
/**
|
131 |
* FLEA_Language 提供了語言轉換功能
|
132 |
*
|
133 |
* @package Core
|
134 |
* @author 起源科技 (www.qeeyuan.com)
|
135 |
* @version 1.0
|
136 |
*/
|
137 |
class FLEA_Language
|
Filename: /www/web/default/gen2/jinxingkeji/apps/front/Controller/Base.php [33]
#7 load_language()
ARGS:
SOURCE CODE:
23 |
*/
|
24 |
function Controller_Base() {
|
25 |
/**
|
26 |
* 加載系統配置信息
|
27 |
*/
|
28 |
$this->_loadOptions();
|
29 |
if ($_GET['lang']) {
|
30 |
FLEA::setAppInf('defaultLanguage', trim($_GET['lang']));
|
31 |
|
32 |
}
|
33 |
load_language('ui');
|
34 |
|
35 |
/**
|
36 |
* 獲取頁碼
|
37 |
*/
|
38 |
$this->currentPage = isset($_GET['page']) ? (int)$_GET['page'] : 0;
|
39 |
$this->sortby = 'sort_id ASC, created DESC';
|
40 |
|
41 |
//欄目模型
|
42 |
$this->colModel = FLEA::getSingleton('Model_Columns');
|
43 |
}
|
Filename: /www/web/default/gen2/jinxingkeji/apps/front/Controller/Info.php [45]
#6 Controller_Base::Controller_Base('ui')
ARGS:
Array
(
[0] => ui
)
SOURCE CODE:
35 |
*
|
36 |
* @param void
|
37 |
* @access protected
|
38 |
* @return void
|
39 |
*/
|
40 |
function __construct()
|
41 |
{
|
42 |
/**
|
43 |
* 父類構造函數
|
44 |
*/
|
45 |
parent::Controller_Base();
|
46 |
|
47 |
/**
|
48 |
* 實例化分類模型
|
49 |
*/
|
50 |
$this->cateModel =& FLEA::getSingleton('Model_Categories');
|
51 |
$this->infoModel =& FLEA::getSingleton('Model_Information');
|
52 |
|
53 |
$this->col_key = $_GET['col_key']?$_GET['col_key']:'news';
|
54 |
$this->column = $this->colModel->getColumnByKey($this->col_key);
|
55 |
}
|
Filename: /www/web/default/gen2/jinxingkeji/libs/FLEA/FLEA/Dispatcher/Simple.php [106]
#5 Controller_Info::__construct()
ARGS:
Array
(
)
SOURCE CODE:
96 |
|
97 |
$controller = null;
|
98 |
$controllerClassFilename = null;
|
99 |
do {
|
100 |
// 載入控制對應的類定義
|
101 |
if (!$this->_loadController($controllerClass)) { break; }
|
102 |
|
103 |
// 構造控制器對象
|
104 |
FLEA::setAppInf('FLEA.internal.currentControllerName', $controllerName);
|
105 |
FLEA::setAppInf('FLEA.internal.currentActionName', $actionName);
|
106 |
$controller =& new $controllerClass($controllerName);
|
107 |
if (!method_exists($controller, $actionMethod)) { break; }
|
108 |
if (method_exists($controller, '__setController')) {
|
109 |
$controller->__setController($controllerName, $actionName);
|
110 |
}
|
111 |
if (method_exists($controller, '__setDispatcher')) {
|
112 |
$controller->__setDispatcher($this);
|
113 |
}
|
114 |
|
115 |
// 調用 _beforeExecute() 方法
|
116 |
if (method_exists($controller, '_beforeExecute')) {
|
Filename: /www/web/default/gen2/jinxingkeji/libs/FLEA/FLEA/Dispatcher/Simple.php [77]
#4 FLEA_Dispatcher_Simple::_executeAction('info')
ARGS:
Array
(
[0] => info
)
SOURCE CODE:
67 |
|
68 |
/**
|
69 |
* 從請求中分析 Controller、Action 和 Package 名字,然后執行指定的 Action 方法
|
70 |
*
|
71 |
* @return mixed
|
72 |
*/
|
73 |
function dispatching()
|
74 |
{
|
75 |
$controllerName = $this->getControllerName();
|
76 |
$actionName = $this->getActionName();
|
77 |
return $this->_executeAction($controllerName, $actionName, $this->getControllerClass($controllerName));
|
78 |
}
|
79 |
|
80 |
/**
|
81 |
* 執行指定的 Action 方法
|
82 |
*
|
83 |
* @param string $controllerName
|
84 |
* @param string $actionName
|
85 |
* @param string $controllerClass
|
86 |
*
|
87 |
* @return mixed
|
Filename: /www/web/default/gen2/jinxingkeji/libs/FLEA/FLEA.php [816]
#3 FLEA_Dispatcher_Simple::dispatching('info', 'index', 'Controller_Info')
ARGS:
Array
(
[0] => info
[1] => index
[2] => Controller_Info
)
SOURCE CODE:
806 |
require_once($MVCPackageFilename);
|
807 |
}
|
808 |
FLEA::init();
|
809 |
|
810 |
// 載入調度器并轉發請求到控制器
|
811 |
$dispatcherClass = FLEA::getAppInf('dispatcher');
|
812 |
FLEA::loadClass($dispatcherClass);
|
813 |
|
814 |
$dispatcher =& new $dispatcherClass($_GET);
|
815 |
FLEA::register($dispatcher, $dispatcherClass);
|
816 |
$dispatcher->dispatching();
|
817 |
}
|
818 |
|
819 |
/**
|
820 |
* 準備運行環境
|
821 |
*
|
822 |
* @param boolean $loadMVC
|
823 |
*/
|
824 |
function init($loadMVC = false)
|
825 |
{
|
826 |
static $firstTime = true;
|
Filename: /www/web/default/gen2/jinxingkeji/apps/application.php [80]
#2 FLEA::runMVC()
ARGS:
Array
(
)
SOURCE CODE:
70 |
return new application($app);
|
71 |
|
72 |
}
|
73 |
|
74 |
/**
|
75 |
* 運行框架
|
76 |
*
|
77 |
*/
|
78 |
function run()
|
79 |
{
|
80 |
FLEA::runMVC();
|
81 |
|
82 |
|
83 |
}
|
84 |
}
|
85 |
|
86 |
/**
|
87 |
* 超時操作句柄
|
88 |
*
|
89 |
* @access public
|
90 |
* @return void
|
Filename: /www/web/default/gen2/jinxingkeji/index.php [27]
#1 application::run()
ARGS:
Array
(
)
SOURCE CODE:
17 |
/**
|
18 |
* 載入應用入口
|
19 |
*/
|
20 |
require_once './apps/application.php';
|
21 |
/**
|
22 |
* 運行應用
|
23 |
*/
|
24 |
|
25 |
|
26 |
|
27 |
application::factory('front')->run();
|
28 |
|
29 |
|