mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Removed old resetcore.php file (already exists in e107_web) moved e_jslib.php to e107_web/js/e_jslib.php
This commit is contained in:
parent
4318e949c0
commit
e1e2894eb8
@ -1,19 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
*
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_files/resetcore.php,v $
|
||||
* $Revision$
|
||||
* $Date$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
require_once('../class2.php');
|
||||
header('Location:'.SITEURL.$FILES_DIRECTORY.'resetcore/resetcore.php');
|
||||
exit();
|
@ -60,7 +60,7 @@ class e_jslib
|
||||
$hash = md5(serialize(varset($pref['e_jslib'])).e107::getPref('e_jslib_browser_cache', 0).THEME.e_LANGUAGE.ADMIN).'_'.$where;
|
||||
// TODO disable cache in debug mod
|
||||
$hash .= (e107::getPref('e_jslib_nocache')/* || deftrue('e_NOCACHE')*/ ? '_nocache' : '').(!e107::getPref('e_jslib_nobcache') || deftrue('e_NOCACHE') ? '_nobcache' : '').(e107::getPref('e_jslib_gzip') ? '' : '_nogzip');
|
||||
$ret .= "<script type='text/javascript' src='".e_FILE_ABS."e_jslib.php?{$hash}'></script>\n";
|
||||
$ret .= "<script type='text/javascript' src='".e_JS."e_jslib.php?{$hash}'></script>\n";
|
||||
|
||||
// render CDN libraries asap
|
||||
$ret .= $e_jsmanager->renderJs('core', null, true, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user