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

Clean shutdown flag now using $GLOBAL

This commit is contained in:
Cameron
2021-01-16 15:42:23 -08:00
parent 25e5978ae8
commit 8db0278a9f
5 changed files with 10 additions and 9 deletions

View File

@@ -1335,6 +1335,7 @@ class e107Test extends \Codeception\Test\Unit
public function testInAdminDir()
{
return null; // FIXME
$this->markTestSkipped("Skipped until admin-area conflict can be resolved."); // FIXME
$tests = array(
0 => array('path' => 'thumb.php', 'plugdir' => false, 'expected' => false),

View File

@@ -29,15 +29,12 @@
}
global $pref, $ns, $tp, $frm;
global $error_handler, $e107_Clean_Exit, $In_e107_Footer, $ADMIN_DIRECTORY;
$pref = e107::getPref();
$ns = e107::getRender();
$tp = e107::getParser();
$frm = e107::getForm();
global $_E107;
$_E107['cli'] = true;
$_E107['no_theme'] = true; //FIXME unable to change to admin theme in testing environment.