updated slingit
This commit is contained in:
parent
287fa01879
commit
2a4cf9d7e8
4
api.php
4
api.php
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once 'lib/system/autoload.inc'; //SYSTEM Classes
|
require_once 'lib/system/autoload.inc'; //SYSTEM Classes
|
||||||
require_once 'slingit/autoload.inc'; //Project Classes
|
require_once 'slingit/autoload.inc'; //Project Classes
|
||||||
|
require_once '/home/web/web/config/get_config.php';
|
||||||
|
|
||||||
require_once 'config.php';
|
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||||
SYSTEM\system::start($slingit_config);
|
|
||||||
\SYSTEM\system::include_ExceptionShortcut();
|
\SYSTEM\system::include_ExceptionShortcut();
|
||||||
\SYSTEM\system::include_ResultShortcut();
|
\SYSTEM\system::include_ResultShortcut();
|
||||||
\SYSTEM\system::register_errorhandler_dbwriter();
|
\SYSTEM\system::register_errorhandler_dbwriter();
|
||||||
|
|||||||
15
config.php
15
config.php
@ -1,15 +0,0 @@
|
|||||||
<?php
|
|
||||||
$slingit_config=array(array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_ERRORREPORTING, E_ALL | E_STRICT),
|
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL, 'http://www.slingit.org/'),
|
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEPATH, '/home/web/webdir/slingit/'),
|
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_TYPE, \SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_TYPE_MYS),
|
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_HOST, '127.0.0.1'),
|
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_PORT, ''),
|
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_USER, 'mojotrolls_mysql'),
|
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_PASSWORD, 'dajsabeaisvd345'),
|
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_DBNAME, 'host_slingit'),
|
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_SAI_CONFIG_PROJECT, 'slingit'),
|
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_SYSTEMPATHREL, 'lib/system/'),
|
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_LANGS, array('deDE','enUS', 'frFR', 'esES', 'trTR', 'jaJA')),
|
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DEFAULT_LANG, 'enUS'),
|
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CRON_LOG2SQLITE_PATH, '/home/web/webdir/slingit/slingit/files/log/'));
|
|
||||||
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once 'lib/system/autoload.inc'; //SYSTEM Classes
|
require_once 'lib/system/autoload.inc'; //SYSTEM Classes
|
||||||
require_once 'slingit/autoload.inc'; //Project Classes
|
require_once 'slingit/autoload.inc'; //Project Classes
|
||||||
|
require_once '/home/web/web/config/get_config.php';
|
||||||
|
|
||||||
require_once 'config.php';
|
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||||
\SYSTEM\system::start($slingit_config);
|
|
||||||
\SYSTEM\system::include_ExceptionShortcut();
|
\SYSTEM\system::include_ExceptionShortcut();
|
||||||
\SYSTEM\system::include_ResultShortcut();
|
\SYSTEM\system::include_ResultShortcut();
|
||||||
\SYSTEM\system::register_errorhandler_dbwriter();
|
\SYSTEM\system::register_errorhandler_dbwriter();
|
||||||
|
|||||||
4
sai.php
4
sai.php
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once 'lib/system/autoload.inc'; //SYSTEM Classes
|
require_once 'lib/system/autoload.inc'; //SYSTEM Classes
|
||||||
require_once 'slingit/autoload.inc'; //Project Classes
|
require_once 'slingit/autoload.inc'; //Project Classes
|
||||||
|
require_once '/home/web/web/config/get_config.php';
|
||||||
|
|
||||||
require_once 'config.php'; //Server config
|
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||||
SYSTEM\system::start($slingit_config); //Start System time + config
|
|
||||||
SYSTEM\system::include_ExceptionShortcut(); //allow ERROR() instead of \SYSTEM\LOG\ERROR()
|
SYSTEM\system::include_ExceptionShortcut(); //allow ERROR() instead of \SYSTEM\LOG\ERROR()
|
||||||
SYSTEM\system::include_ResultShortcut(); //allow JsonResult() instead of \SYSTEM\LOG\JsonResult()
|
SYSTEM\system::include_ResultShortcut(); //allow JsonResult() instead of \SYSTEM\LOG\JsonResult()
|
||||||
SYSTEM\system::register_errorhandler_dbwriter(); //write errors to database (must be first errorhandler to register)
|
SYSTEM\system::register_errorhandler_dbwriter(); //write errors to database (must be first errorhandler to register)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user