mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Revised methods of improting files.
This commit is contained in:
parent
2bf39091c5
commit
07f2656424
1 changed files with 7 additions and 5 deletions
|
|
@ -587,11 +587,13 @@ class ncenterliteController extends ncenterlite
|
||||||
|
|
||||||
Context::set('ncenterlite_config', $config);
|
Context::set('ncenterlite_config', $config);
|
||||||
|
|
||||||
$oModuleModel = getModel('module');
|
$js_args = array(
|
||||||
$ncenterlite_module_info = $oModuleModel->getModuleInfoXml('ncenterlite');
|
'./modules/ncenterlite/tpl/js/ncenterlite.js',
|
||||||
$jsCacheRefresh = '?'.$ncenterlite_module_info->version.'.'.$ncenterlite_module_info->date.'.js';
|
'body',
|
||||||
Context::addJsFile('./modules/ncenterlite/tpl/js/ncenterlite.js'.$jsCacheRefresh, true, '', 100000);
|
'',
|
||||||
|
100000
|
||||||
|
);
|
||||||
|
Context::loadFile($js_args);
|
||||||
|
|
||||||
$oNcenterliteModel = getModel('ncenterlite');
|
$oNcenterliteModel = getModel('ncenterlite');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue