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:
parent
d6949fca53
commit
5a0e649de1
6
api.php
6
api.php
@ -1,7 +1,5 @@
|
||||
<?php
|
||||
require_once 'index.inc';
|
||||
|
||||
\SYSTEM\system::start(\WEBCRAFT\config(dirname(__FILE__)));
|
||||
|
||||
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','api_mojotrollz',array_merge($_POST,$_GET));
|
||||
new \SYSTEM\LOG\COUNTER("API was called sucessfully.");
|
||||
echo \SYSTEM\API\api::run(\SYSTEM\API\verify::class,api_mojotrollz::class,array_merge($_POST,$_GET));
|
||||
new \SYSTEM\LOG\COUNTER("API was called successfully.");
|
||||
@ -1,7 +1,5 @@
|
||||
<?php
|
||||
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);
|
||||
new \SYSTEM\LOG\COUNTER("Page was called sucessfully.");
|
||||
new \SYSTEM\LOG\COUNTER("Page was called successfully.");
|
||||
2
sai.php
2
sai.php
@ -1,6 +1,4 @@
|
||||
<?php
|
||||
require_once 'index.inc';
|
||||
|
||||
\SYSTEM\system::start(\WEBCRAFT\config(dirname(__FILE__)));
|
||||
|
||||
echo (new SYSTEM\SAI\sai_gui())->html();
|
||||
Loading…
x
Reference in New Issue
Block a user