mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 07:06:30 +02:00
Notice removal and forum upgrade fixes. Re-wrote e107_update-page routine. Check for update is now performed inside [plugin]_setup.php
This commit is contained in:
@@ -713,6 +713,11 @@ if (!function_exists('checkvalidtheme'))
|
||||
if (ADMIN && strpos(e_SELF, $ADMIN_DIRECTORY) === false)
|
||||
{
|
||||
echo '<script>alert("'.$tp->toJS(CORE_LAN1).'")</script>';
|
||||
$tm = e107::getSingleton('themeHandler');
|
||||
$tm->setTheme($e107tmp_theme);
|
||||
// $config = e107::getConfig();
|
||||
// $config->set('sitetheme','core');
|
||||
|
||||
}
|
||||
}
|
||||
$themes_dir = $e107->getFolder('themes');
|
||||
|
Reference in New Issue
Block a user