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:
parent
6849a47545
commit
1501ccfda5
15
class2.php
15
class2.php
@ -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;
|
||||
|
||||
|
@ -209,6 +209,7 @@ class e107Update
|
||||
else
|
||||
{
|
||||
$mes->add($message, E_MESSAGE_SUCCESS);
|
||||
e107::getCache()->clear_sys('Update_core');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user