Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /home/palandch/public_html/manager/min/ |
<?php /** * @var modX $modx */ $managerUrl = '../'; $externals = array(); $externals[] = $managerUrl.'assets/modext/core/modx.localization.js'; $externals[] = $managerUrl.'assets/modext/util/utilities.js'; $externals[] = $managerUrl.'assets/modext/core/modx.component.js'; $externals[] = $managerUrl.'assets/modext/widgets/core/modx.panel.js'; $externals[] = $managerUrl.'assets/modext/widgets/core/modx.tabs.js'; $externals[] = $managerUrl.'assets/modext/widgets/core/modx.window.js'; $externals2 = array(); $externals2[] = $managerUrl.'assets/modext/widgets/core/modx.tree.js'; $externals2[] = $managerUrl.'assets/modext/widgets/core/modx.combo.js'; $externals2[] = $managerUrl.'assets/modext/widgets/core/modx.grid.js'; $externals2[] = $managerUrl.'assets/modext/widgets/core/modx.console.js'; $externals2[] = $managerUrl.'assets/modext/widgets/core/modx.portal.js'; $externals2[] = $managerUrl.'assets/modext/widgets/modx.treedrop.js'; $externals3 = array(); $externals3[] = $managerUrl.'assets/modext/widgets/windows.js'; $externals3[] = $managerUrl.'assets/modext/widgets/resource/modx.tree.resource.js'; $externals3[] = $managerUrl.'assets/modext/widgets/element/modx.tree.element.js'; $externals3[] = $managerUrl.'assets/modext/widgets/system/modx.tree.directory.js'; $externals3[] = $managerUrl.'assets/modext/core/modx.view.js'; $externals3[] = $managerUrl.'assets/modext/core/modx.layout.js'; return array( 'coreJs1' => $externals, 'coreJs2' => $externals2, 'coreJs3' => $externals3, // 'js' => array('//js/file1.js', '//js/file2.js'), // 'css' => array('//css/file1.css', '//css/file2.css'), // custom source example /*'js2' => array( dirname(__FILE__) . '/../min_unit_tests/_test_files/js/before.js', // do NOT process this file new Minify_Source(array( 'filepath' => dirname(__FILE__) . '/../min_unit_tests/_test_files/js/before.js', 'minifier' => create_function('$a', 'return $a;') )) ),//*/ /*'js3' => array( dirname(__FILE__) . '/../min_unit_tests/_test_files/js/before.js', // do NOT process this file new Minify_Source(array( 'filepath' => dirname(__FILE__) . '/../min_unit_tests/_test_files/js/before.js', 'minifier' => array('Minify_Packer', 'minify') )) ),//*/ );