. * */ define('APP_ROOT', '..'); require APP_ROOT . DIRECTORY_SEPARATOR . 'inc' . DIRECTORY_SEPARATOR . 'Base.php'; $themeJsPath = VIEW_PATH . DIRECTORY_SEPARATOR . \SP\Init::$THEME . DIRECTORY_SEPARATOR . 'js' . DIRECTORY_SEPARATOR . 'js.php'; $jsFilesBase = array( array('href' => 'js/jquery-1.11.2.min.js', 'min' => false), // array('href' => 'js/jquery-migrate-1.2.1.min.js', 'min' => false), array('href' => 'js/jquery.placeholder.js', 'min' => true), array('href' => 'js/jquery-ui.min.js', 'min' => false), array('href' => 'js/jquery.fancybox.pack.js', 'min' => false), array('href' => 'js/jquery.powertip.min.js', 'min' => false), array('href' => 'js/chosen.jquery.min.js', 'min' => false), array('href' => 'js/alertify.js', 'min' => false), array('href' => 'js/jquery.fileDownload.js', 'min' => true), array('href' => 'js/jquery.filedrop.js', 'min' => true), array('href' => 'js/jquery.tagsinput.js', 'min' => true), array('href' => 'js/ZeroClipboard.min.js', 'min' => false), array('href' => 'js/jsencrypt.min.js', 'min' => false), array('href' => 'js/zxcvbn-async.js', 'min' => true), array('href' => 'js/functions.js', 'min' => true), ); if (file_exists($themeJsPath)){ include $themeJsPath; foreach ($jsFilesTheme as $file) { array_push($jsFilesBase, $file); } } SP\Util::getMinified('js', $jsFilesBase, false);