1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

PDO class now used by default. mysql_class.php currently deprecated until it is modified to use mysqli. Install routine upgraded. Install logging vastly improved.

This commit is contained in:
Cameron
2019-06-03 15:27:36 -07:00
parent 248dc0408b
commit ce7f3feb38
7 changed files with 393 additions and 186 deletions

View File

@@ -115,7 +115,7 @@ class ecache {
{
$CheckTag = ''; // no MD5 on system cache. XXX To be Checked.
}
$fname = e_CACHE_CONTENT.$q.$CheckTag.'.cache.php';
//echo "cache f_name = $fname <br />";
return $fname;
@@ -198,6 +198,11 @@ class ecache {
*/
public function set($CacheTag, $Data, $ForceCache = false, $bRaw=0, $syscache = false)
{
if(defined('E107_INSTALL') && E107_INSTALL === true)
{
return null;
}
if(($ForceCache != false ) || ($syscache == false && $this->UserCacheActive) || ($syscache == true && $this->SystemCacheActive) && !e107::getParser()->checkHighlighting())
{
$cache_file = (isset($this) && $this instanceof ecache ? $this->cache_fname($CacheTag, $syscache) : self::cache_fname($CacheTag, $syscache));