mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Remove use of old db_info in minify_scripts processing
This commit is contained in:
parent
f2f7cffdb8
commit
d41516349c
3 changed files with 18 additions and 22 deletions
|
|
@ -433,7 +433,7 @@ class HTMLDisplayHandler
|
|||
$original_file_list = array('x', 'common', 'js_app', 'xml_handler', 'xml_js_filter');
|
||||
$jquery_version = preg_match('/MSIE [5-8]\./', $_SERVER['HTTP_USER_AGENT']) ? '1.11.3' : '2.1.4';
|
||||
|
||||
if(Context::getDBInfo()->minify_scripts === 'none')
|
||||
if(config('view.minify_scripts') === 'none')
|
||||
{
|
||||
Context::loadFile(array('./common/js/jquery-' . $jquery_version . '.js', 'head', '', -1730000), true);
|
||||
Context::loadFile(array('./common/js/plugins/jquery.migrate/jquery-migrate-1.2.1.js', 'head', '', -1720000), true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue