indexconfig
This commit is contained in:
parent
3a5c6e7feb
commit
8ad273a73b
4
api.php
4
api.php
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
require_once 'system/autoload.inc.php'; //SYSTEM Classes
|
||||
require_once 'rhein/autoload.inc.php'; //Project Classes
|
||||
require_once 'neopolimatrix/autoload.inc.php'; //Project Classes
|
||||
|
||||
require_once 'config.php';
|
||||
SYSTEM\system::start($rhein_config);
|
||||
SYSTEM\system::start($neopolimatrix_config);
|
||||
\SYSTEM\system::include_ExceptionShortcut();
|
||||
\SYSTEM\system::include_ResultShortcut();
|
||||
\SYSTEM\system::register_errorhandler_dbwriter();
|
||||
|
||||
13
config.php
13
config.php
@ -1,19 +1,18 @@
|
||||
<?php
|
||||
$rhein_config = array( array(config_ids::SYS_CONFIG_ERRORREPORTING, E_ALL | E_STRICT),
|
||||
array(config_ids::SYS_CONFIG_PATH_BASEURL, 'http://www.fewo-rhein-zwbg.de/'),
|
||||
array(config_ids::SYS_CONFIG_PATH_BASEPATH, '/home/web/webdir/rhein/'),
|
||||
$neopolimatrix_config = array( array(config_ids::SYS_CONFIG_ERRORREPORTING, E_ALL | E_STRICT),
|
||||
array(config_ids::SYS_CONFIG_PATH_BASEURL, 'http://www.mojotrollz.eu/web/neopolimatrix'),
|
||||
array(config_ids::SYS_CONFIG_PATH_BASEPATH, '/home/web/webdir/neopolimatrix/'),
|
||||
array(config_ids::SYS_CONFIG_DB_TYPE, SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_TYPE_MYS),
|
||||
array(config_ids::SYS_CONFIG_DB_HOST, '127.0.0.1'),
|
||||
array(config_ids::SYS_CONFIG_DB_PORT, ''),
|
||||
array(config_ids::SYS_CONFIG_DB_USER, 'mojotrolls_mysql'),
|
||||
array(config_ids::SYS_CONFIG_DB_PASSWORD, 'dajsabeaisvd345'),
|
||||
array(config_ids::SYS_CONFIG_DB_DBNAME, 'host_rhein'),
|
||||
array(config_ids::SYS_CONFIG_DB_DBNAME, 'host_neopolimatrix'),
|
||||
array(config_ids::SYS_SAI_CONFIG_NAVIMG, '/web/system/sai/page/img/logo.png'),//not working, cuz paths are not set yet! \SYSTEM\WEBPATH(new \SYSTEM\PSAI(),'page/default_page/img/logo.png')),
|
||||
array(config_ids::SYS_SAI_CONFIG_BASEURL, 'http://www.fewo-rhein-zwbg.de/sai.php?'),
|
||||
array(config_ids::SYS_SAI_CONFIG_BASEURL, 'http://www.mojotrollz.eu/web/neopolimatrix/sai.php?'),
|
||||
array(config_ids::SYS_SAI_CONFIG_TITLE, 'Fewo Rhein - Admin Bereich'),
|
||||
array(config_ids::SYS_SAI_CONFIG_COPYRIGHT, '<a href="http://www.fewo-rhein-zwbg.de/" target="_blank">fewo rhein</a> © WebCraft Media 2013'),
|
||||
array(config_ids::SYS_CONFIG_PATH_SYSTEMPATHREL, 'system/'),
|
||||
array(config_ids::SYS_CONFIG_LANGS, array('deDE')),
|
||||
array(config_ids::SYS_CONFIG_DEFAULT_LANG, 'deDE'),
|
||||
array(config_ids::WEBCRAFT_BILLING_TOKEN, 'RHEINadasdbcahdscjhd213'),
|
||||
array(config_ids::SYS_CRON_LOG2SQLITE_PATH, '/home/web/webdir/rhein/rhein/files/log/'));
|
||||
array(config_ids::SYS_CRON_LOG2SQLITE_PATH, '/home/web/webdir/neopolimatrix/neopolimatrix/files/log/'));
|
||||
@ -1,13 +1,13 @@
|
||||
<?php
|
||||
require_once 'system/autoload.inc.php'; //SYSTEM Classes
|
||||
require_once 'rhein/autoload.inc.php'; //Project Classes
|
||||
require_once 'neopolimatrix/autoload.inc.php'; //Project Classes
|
||||
|
||||
require_once 'config.php';
|
||||
\SYSTEM\system::start($rhein_config);
|
||||
\SYSTEM\system::start($neopolimatrix_config);
|
||||
\SYSTEM\system::include_ExceptionShortcut();
|
||||
\SYSTEM\system::include_ResultShortcut();
|
||||
\SYSTEM\system::register_errorhandler_dbwriter();
|
||||
\SYSTEM\system::register_errorhandler_jsonoutput();
|
||||
|
||||
echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_rhein', array_merge($_POST,$_GET), 1, false, true)->html();
|
||||
echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_neopolimatrix', array_merge($_POST,$_GET), 1, false, true)->html();
|
||||
new \SYSTEM\LOG\COUNTER("Page was called sucessfully.");
|
||||
7
nbproject/project.properties
Normal file
7
nbproject/project.properties
Normal file
@ -0,0 +1,7 @@
|
||||
include.path=${php.global.include.path}
|
||||
php.version=PHP_54
|
||||
source.encoding=UTF-8
|
||||
src.dir=.
|
||||
tags.asp=false
|
||||
tags.short=false
|
||||
web.root=.
|
||||
9
nbproject/project.xml
Normal file
9
nbproject/project.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.php.project</type>
|
||||
<configuration>
|
||||
<data xmlns="http://www.netbeans.org/ns/php-project/1">
|
||||
<name>neopolimatrix</name>
|
||||
</data>
|
||||
</configuration>
|
||||
</project>
|
||||
4
sai.php
4
sai.php
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
require_once 'system/autoload.inc.php'; //SYSTEM Classes
|
||||
require_once 'rhein/autoload.inc.php'; //Project Classes
|
||||
require_once 'neopolimatrix/autoload.inc.php'; //Project Classes
|
||||
|
||||
require_once 'config.php'; //Server config
|
||||
SYSTEM\system::start($rhein_config); //Start System time + config
|
||||
SYSTEM\system::start($neopolimatrix_config); //Start System time + config
|
||||
SYSTEM\system::include_ExceptionShortcut(); //allow ERROR() instead of \SYSTEM\LOG\ERROR()
|
||||
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)
|
||||
|
||||
1
system
Submodule
1
system
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 18a6cd5cdfc2e6a1be71d0d1861c7a0775f3ea8d
|
||||
Loading…
x
Reference in New Issue
Block a user