neo working

This commit is contained in:
Ulf Gebhardt 2015-01-17 21:21:28 +01:00
parent 96916d0225
commit 7dd863bba3
12 changed files with 35 additions and 33 deletions

3
.htaccess Normal file
View File

@ -0,0 +1,3 @@
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}%{REQUEST_URI}$1 [R=301,L]

View File

@ -1,6 +1,6 @@
<?php <?php
require_once 'system/autoload.inc.php'; //SYSTEM Classes require_once 'system/autoload.inc.php'; //SYSTEM Classes
require_once 'neopolimatrix/autoload.inc.php'; //Project Classes require_once 'neopolimatrix/autoload.inc'; //Project Classes
require_once 'config.php'; require_once 'config.php';
SYSTEM\system::start($neopolimatrix_config); SYSTEM\system::start($neopolimatrix_config);

View File

@ -1,19 +1,18 @@
<?php <?php
$neopolimatrix_config = array( array(config_ids::SYS_CONFIG_ERRORREPORTING, E_ALL | E_STRICT), $neopolimatrix_config=array(array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_ERRORREPORTING, E_ALL | E_STRICT),
array(config_ids::SYS_CONFIG_PATH_BASEURL, 'http://mojotrollz.eu/web/neopolimatrix'), array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL, 'http://www.mojotrollz.eu/web/Neopolimatrix/'),
array(config_ids::SYS_CONFIG_PATH_BASEPATH, '/home/web/webdir/neopolimatrix/'), array(\SYSTEM\CONFIG\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(\SYSTEM\CONFIG\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(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_HOST, '127.0.0.1'),
array(config_ids::SYS_CONFIG_DB_PORT, ''), array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_PORT, ''),
array(config_ids::SYS_CONFIG_DB_USER, 'mojotrolls_mysql'), array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_USER, 'mojotrolls_mysql'),
array(config_ids::SYS_CONFIG_DB_PASSWORD, 'dajsabeaisvd345'), array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_PASSWORD, 'dajsabeaisvd345'),
array(config_ids::SYS_CONFIG_DB_DBNAME, 'host_neopolimatrix'), array(\SYSTEM\CONFIG\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(\SYSTEM\CONFIG\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://mojotrollz.eu/web/neopolimatrix/sai.php?'), array(\SYSTEM\CONFIG\config_ids::SYS_SAI_CONFIG_BASEURL, 'http://www.mojotrollz.eu/web/Neopolimatrix/sai.php?'),
array(config_ids::SYS_SAI_CONFIG_TITLE, 'Neopolimatrix - Admin Bereich'), array(\SYSTEM\CONFIG\config_ids::SYS_SAI_CONFIG_TITLE, 'Neopolimatrix - Admin Bereich'),
array(config_ids::SYS_SAI_CONFIG_COPYRIGHT, '<a href="" target="_blank"></a> &copy; WebCraft Media 2013'), array(\SYSTEM\CONFIG\config_ids::SYS_SAI_CONFIG_COPYRIGHT, '<a href="" target="_blank"></a> &copy; WebCraft Media 2013'),
array(config_ids::SYS_CONFIG_PATH_SYSTEMPATHREL, 'system/'), array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_SYSTEMPATHREL, 'system/'),
array(config_ids::SYS_CONFIG_LANGS, array('deDE')), array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_LANGS, array('deDE')),
array(config_ids::SYS_CONFIG_DEFAULT_LANG, 'deDE'), array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DEFAULT_LANG, 'deDE'),
array(config_ids::WEBCRAFT_BILLING_TOKEN, ''), array(\SYSTEM\CONFIG\config_ids::SYS_CRON_LOG2SQLITE_PATH, '/home/web/webdir/Neopolimatrix/neopolimatrix/files/log/'));
array(config_ids::SYS_CRON_LOG2SQLITE_PATH, '/home/web/webdir/neopolimatrix/neopolimatrix/files/log/'));

View File

@ -1,6 +1,6 @@
<?php <?php
require_once 'system/autoload.inc.php'; //SYSTEM Classes require_once 'system/autoload.inc.php'; //SYSTEM Classes
require_once 'neopolimatrix/autoload.inc.php'; //Project Classes require_once 'neopolimatrix/autoload.inc'; //Project Classes
require_once 'config.php'; require_once 'config.php';
\SYSTEM\system::start($neopolimatrix_config); \SYSTEM\system::start($neopolimatrix_config);

View File

@ -1,8 +1,6 @@
<?php <?php
//keep this //keep this
require_once dirname(__FILE__).'/path/register_path_classes.php'; require_once dirname(__FILE__).'/path/autoload.inc';
require_once dirname(__FILE__).'/page/autoload.inc'; require_once dirname(__FILE__).'/page/autoload.inc';
require_once dirname(__FILE__).'/dbd/autoload.inc.php'; require_once dirname(__FILE__).'/files/autoload.inc';
require_once dirname(__FILE__).'/files/autoload.inc.php';
require_once dirname(__FILE__).'/api/autoload.inc.php';

View File

@ -0,0 +1,2 @@
<?php
//include here

View File

View File

@ -0,0 +1,5 @@
<?php
class default_page extends \SYSTEM\PAGE\Page {
public function html(){
return 'test';}
}

View File

@ -1,10 +1,5 @@
<?php <?php
class page_neopolimatrix extends \SYSTEM\API\api_default {
class page_whw extends \SYSTEM\API\api_default {
public static function default_page(){ public static function default_page(){
return new default_page();}
return new default_page();
}
} }

View File

@ -1,6 +1,6 @@
<?php <?php
require_once 'system/autoload.inc.php'; //SYSTEM Classes require_once 'system/autoload.inc.php'; //SYSTEM Classes
require_once 'neopolimatrix/autoload.inc.php'; //Project Classes require_once 'neopolimatrix/autoload.inc'; //Project Classes
require_once 'config.php'; //Server config require_once 'config.php'; //Server config
SYSTEM\system::start($neopolimatrix_config); //Start System time + config SYSTEM\system::start($neopolimatrix_config); //Start System time + config

2
system

@ -1 +1 @@
Subproject commit 5b3346f6c91644dfd5eb1acf16e5793401d414e2 Subproject commit 96078ca1bd00f6750a4a3bf16d84c7d3cc431dfa