1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-16 10:32:08 +02:00

Clear cache after core update

This commit is contained in:
Cameron 2019-05-22 13:57:51 -07:00
parent 6849a47545
commit 1501ccfda5
2 changed files with 12 additions and 4 deletions

View File

@ -227,6 +227,16 @@ if(isset($CLASS2_INCLUDE) && ($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()
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 :)
//
if(empty($HANDLERS_DIRECTORY))
{
$HANDLERS_DIRECTORY = 'e107_handlers/';
}
$tmp = e_ROOT.$HANDLERS_DIRECTORY;

View File

@ -209,6 +209,7 @@ class e107Update
else
{
$mes->add($message, E_MESSAGE_SUCCESS);
e107::getCache()->clear_sys('Update_core');
}
}
}