mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
Test admin scripts are parsing correctly.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
* Administration - Site Maintenance
|
||||
*
|
||||
*/
|
||||
require_once ('../class2.php');
|
||||
require_once (__DIR__.'/../class2.php');
|
||||
|
||||
if(!getperms('9'))
|
||||
{
|
||||
@@ -106,16 +106,17 @@ $text .= "
|
||||
";
|
||||
|
||||
//Ajax Support
|
||||
if(!e_AJAX_REQUEST)
|
||||
if(e_AJAX_REQUEST)
|
||||
{
|
||||
echo "<div id='ajax-container'>\n";
|
||||
$ns->tablerender(UGFLAN_4, $mes->render().$text, 'core-ugflag');
|
||||
echo "\n</div>";
|
||||
require_once (e_ADMIN."footer.php");
|
||||
exit();
|
||||
exit;
|
||||
}
|
||||
|
||||
echo "<div id='ajax-container'>\n";
|
||||
$ns->tablerender(UGFLAN_4, $mes->render().$text, 'core-ugflag');
|
||||
echo "\n</div>";
|
||||
require_once (e_ADMIN."footer.php");
|
||||
|
||||
|
||||
/**
|
||||
* Handle page DOM within the page header
|
||||
|
Reference in New Issue
Block a user