mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +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);
|
||||
|
||||
$oModuleModel = getModel('module');
|
||||
$ncenterlite_module_info = $oModuleModel->getModuleInfoXml('ncenterlite');
|
||||
$jsCacheRefresh = '?'.$ncenterlite_module_info->version.'.'.$ncenterlite_module_info->date.'.js';
|
||||
Context::addJsFile('./modules/ncenterlite/tpl/js/ncenterlite.js'.$jsCacheRefresh, true, '', 100000);
|
||||
|
||||
$js_args = array(
|
||||
'./modules/ncenterlite/tpl/js/ncenterlite.js',
|
||||
'body',
|
||||
'',
|
||||
100000
|
||||
);
|
||||
Context::loadFile($js_args);
|
||||
|
||||
$oNcenterliteModel = getModel('ncenterlite');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue