remove several duplications, fix typo

fix duplicate call of system::start (included in index.inc) and correct
spelling for successfully
This commit is contained in:
Ulf Gebhardt 2024-11-20 01:09:57 +01:00
parent d6949fca53
commit 5a0e649de1
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
4 changed files with 3 additions and 11 deletions

View File

@ -1,7 +1,5 @@
<?php <?php
require_once 'index.inc'; require_once 'index.inc';
\SYSTEM\system::start(\WEBCRAFT\config(dirname(__FILE__))); echo \SYSTEM\API\api::run(\SYSTEM\API\verify::class,api_mojotrollz::class,array_merge($_POST,$_GET));
new \SYSTEM\LOG\COUNTER("API was called successfully.");
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','api_mojotrollz',array_merge($_POST,$_GET));
new \SYSTEM\LOG\COUNTER("API was called sucessfully.");

View File

@ -1,7 +1,5 @@
<?php <?php
require_once 'index.inc'; require_once 'index.inc';
\SYSTEM\system::start(\WEBCRAFT\config(dirname(__FILE__)));
echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_mojotrollz', array_merge($_POST,$_GET), 1, false, true); echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_mojotrollz', array_merge($_POST,$_GET), 1, false, true);
new \SYSTEM\LOG\COUNTER("Page was called sucessfully."); new \SYSTEM\LOG\COUNTER("Page was called successfully.");

View File

@ -1,6 +1,4 @@
<?php <?php
require_once 'index.inc'; require_once 'index.inc';
\SYSTEM\system::start(\WEBCRAFT\config(dirname(__FILE__)));
echo (new SYSTEM\SAI\sai_gui())->html(); echo (new SYSTEM\SAI\sai_gui())->html();

View File

@ -1,6 +1,4 @@
<?php <?php
require_once 'index.inc'; require_once 'index.inc';
\SYSTEM\system::start(\WEBCRAFT\config(dirname(__FILE__)));
echo \SYSTEM\SQL\setup::install(); echo \SYSTEM\SQL\setup::install();