mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Clear cache after core update
This commit is contained in:
15
class2.php
15
class2.php
@@ -227,6 +227,16 @@ if(isset($CLASS2_INCLUDE) && ($CLASS2_INCLUDE!=''))
|
|||||||
require_once(e_ROOT.$CLASS2_INCLUDE);
|
require_once(e_ROOT.$CLASS2_INCLUDE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(empty($HANDLERS_DIRECTORY))
|
||||||
|
{
|
||||||
|
$HANDLERS_DIRECTORY = 'e107_handlers/';
|
||||||
|
}
|
||||||
|
|
||||||
|
if(empty($PLUGINS_DIRECTORY))
|
||||||
|
{
|
||||||
|
$PLUGINS_DIRECTORY = 'e107_plugins/';
|
||||||
|
}
|
||||||
|
|
||||||
//define("MPREFIX", $mySQLprefix); moved to $e107->set_constants()
|
//define("MPREFIX", $mySQLprefix); moved to $e107->set_constants()
|
||||||
|
|
||||||
if(empty($mySQLdefaultdb))
|
if(empty($mySQLdefaultdb))
|
||||||
@@ -247,10 +257,7 @@ unset($tmpPlugDir);
|
|||||||
// clever stuff that figures out where the paths are on the fly.. no more need for hard-coded e_HTTP :)
|
// clever stuff that figures out where the paths are on the fly.. no more need for hard-coded e_HTTP :)
|
||||||
//
|
//
|
||||||
|
|
||||||
if(empty($HANDLERS_DIRECTORY))
|
|
||||||
{
|
|
||||||
$HANDLERS_DIRECTORY = 'e107_handlers/';
|
|
||||||
}
|
|
||||||
|
|
||||||
$tmp = e_ROOT.$HANDLERS_DIRECTORY;
|
$tmp = e_ROOT.$HANDLERS_DIRECTORY;
|
||||||
|
|
||||||
|
@@ -209,6 +209,7 @@ class e107Update
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$mes->add($message, E_MESSAGE_SUCCESS);
|
$mes->add($message, E_MESSAGE_SUCCESS);
|
||||||
|
e107::getCache()->clear_sys('Update_core');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user