* fix for api and remove bom and adjust for php8.1.
This commit is contained in:
@@ -623,7 +623,6 @@ class baseRouter
|
||||
$this->cookie = new super('cookie');
|
||||
$this->session = new super('session', $this->tab);
|
||||
|
||||
unset($GLOBALS);
|
||||
unset($_REQUEST);
|
||||
|
||||
/* Change for CSRF. */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
$config->gitlab->create = new stdclass;
|
||||
$config->gitlab->create->requiredFields = 'name,url,token';
|
||||
|
||||
|
||||
+1
-1
@@ -51,4 +51,4 @@ $app->loadModule();
|
||||
$output = ob_get_clean();
|
||||
|
||||
/* Flush the buffer. */
|
||||
echo helper::removeUTF8Bom($app->formatData($output));
|
||||
echo $app->formatData(helper::removeUTF8Bom($output));
|
||||
|
||||
Reference in New Issue
Block a user