go trainer path update
This commit is contained in:
parent
f332b0acc1
commit
6f12906209
4
api.php
4
api.php
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||||
require_once 'go-trainer/autoload.inc'; //Project Classes
|
require_once 'go_trainer/autoload.inc'; //Project Classes
|
||||||
require_once '/home/web/web/config/get_config.php';
|
require_once '/home/web/web/config/get_config.php';
|
||||||
|
|
||||||
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||||
|
|
||||||
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','api_demo_basic',array_merge($_POST,$_GET));
|
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','api_go_trainer',array_merge($_POST,$_GET));
|
||||||
new \SYSTEM\LOG\COUNTER("API was called sucessfully.");
|
new \SYSTEM\LOG\COUNTER("API was called sucessfully.");
|
||||||
@ -2,7 +2,7 @@
|
|||||||
namespace WEBCRAFT;
|
namespace WEBCRAFT;
|
||||||
function basic_config(){
|
function basic_config(){
|
||||||
return array( array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_ERRORREPORTING, E_ALL | E_STRICT),
|
return array( array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_ERRORREPORTING, E_ALL | E_STRICT),
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL, 'http://www.mojotrollz.eu/web/test/go-trainer/'),
|
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL, 'http://www.mojotrollz.eu/web/test/go_trainer/'),
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEPATH, '/server/path/to/project/'),
|
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEPATH, '/server/path/to/project/'),
|
||||||
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_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_HOST, '127.0.0.1'),
|
||||||
@ -10,9 +10,9 @@ function basic_config(){
|
|||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_USER, 'host'),
|
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_USER, 'host'),
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_PASSWORD, 'db_pw'),
|
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_PASSWORD, 'db_pw'),
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_DBNAME, 'db_name'),
|
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_DBNAME, 'db_name'),
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_SAI_CONFIG_PROJECT, 'go-trainer'),
|
array(\SYSTEM\CONFIG\config_ids::SYS_SAI_CONFIG_PROJECT, 'go_trainer'),
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_SYSTEMPATHREL, 'lib/system/'),
|
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_SYSTEMPATHREL, 'lib/system/'),
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_LANGS, array('deDE','enUS')),
|
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_LANGS, array('deDE','enUS')),
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DEFAULT_LANG, 'deDE'),
|
array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DEFAULT_LANG, 'deDE'),
|
||||||
array(\SYSTEM\CONFIG\config_ids::SYS_CRON_LOG2SQLITE_PATH, '/server/üath/to/projectlogextraction/'));
|
array(\SYSTEM\CONFIG\config_ids::SYS_CRON_LOG2SQLITE_PATH, '/server/path/to/go_trainer/'));
|
||||||
}
|
}
|
||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
class page_demo_basic extends \SYSTEM\API\api_default {
|
class page_go_trainer extends \SYSTEM\API\api_default {
|
||||||
public static function get_apigroup(){
|
public static function get_apigroup(){
|
||||||
return 1;}
|
return 1;}
|
||||||
public static function get_class($params = null){
|
public static function get_class($params = null){
|
||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
class PPAGE extends \SYSTEM\PATH {
|
class PPAGE extends \SYSTEM\PATH {
|
||||||
public function __construct($subpath = '') {
|
public function __construct($subpath = '') {
|
||||||
parent::__construct(new \SYSTEM\PROOT(), 'go-trainer/page/', $subpath);}
|
parent::__construct(new \SYSTEM\PROOT(), 'go_trainer/page/', $subpath);}
|
||||||
}
|
}
|
||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
class PSAI extends \SYSTEM\PATH {
|
class PSAI extends \SYSTEM\PATH {
|
||||||
public function __construct($subpath = '') {
|
public function __construct($subpath = '') {
|
||||||
parent::__construct(new \SYSTEM\PROOT(), 'go-trainer/sai/', $subpath);}
|
parent::__construct(new \SYSTEM\PROOT(), 'go_trainer/sai/', $subpath);}
|
||||||
}
|
}
|
||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
class PSQL extends \SYSTEM\PATH {
|
class PSQL extends \SYSTEM\PATH {
|
||||||
public function __construct($subpath = '') {
|
public function __construct($subpath = '') {
|
||||||
parent::__construct(new \SYSTEM\PROOT(), 'go-trainer/sql/', $subpath);}
|
parent::__construct(new \SYSTEM\PROOT(), 'go_trainer/sql/', $subpath);}
|
||||||
}
|
}
|
||||||
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||||
require_once 'go-trainer/autoload.inc'; //Project Classes
|
require_once 'go_trainer/autoload.inc'; //Project Classes
|
||||||
require_once '/home/web/web/config/get_config.php';
|
require_once '/home/web/web/config/get_config.php';
|
||||||
|
|
||||||
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||||
|
|
||||||
echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_demo_basic', array_merge($_POST,$_GET), 1, false, true);
|
echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_go_trainer', array_merge($_POST,$_GET), 1, false, true);
|
||||||
new \SYSTEM\LOG\COUNTER("Page was called sucessfully.");
|
new \SYSTEM\LOG\COUNTER("Page was called sucessfully.");
|
||||||
@ -1,5 +1,15 @@
|
|||||||
|
auxiliary.org-netbeans-modules-css-prep.less_2e_compiler_2e_options=
|
||||||
|
auxiliary.org-netbeans-modules-css-prep.less_2e_enabled=false
|
||||||
|
auxiliary.org-netbeans-modules-css-prep.less_2e_mappings=/less:/css
|
||||||
|
auxiliary.org-netbeans-modules-css-prep.sass_2e_compiler_2e_options=
|
||||||
|
auxiliary.org-netbeans-modules-css-prep.sass_2e_enabled=false
|
||||||
|
auxiliary.org-netbeans-modules-css-prep.sass_2e_mappings=/scss:/css
|
||||||
auxiliary.org-netbeans-modules-php-smarty.smarty-framework=true
|
auxiliary.org-netbeans-modules-php-smarty.smarty-framework=true
|
||||||
include.path=${php.global.include.path}
|
browser.reload.on.save=true
|
||||||
|
code.analysis.excludes=
|
||||||
|
ignore.path=
|
||||||
|
include.path=\
|
||||||
|
${php.global.include.path}
|
||||||
php.version=PHP_56
|
php.version=PHP_56
|
||||||
source.encoding=UTF-8
|
source.encoding=UTF-8
|
||||||
src.dir=.
|
src.dir=.
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
<type>org.netbeans.modules.php.project</type>
|
<type>org.netbeans.modules.php.project</type>
|
||||||
<configuration>
|
<configuration>
|
||||||
<data xmlns="http://www.netbeans.org/ns/php-project/1">
|
<data xmlns="http://www.netbeans.org/ns/php-project/1">
|
||||||
<name>go-trainer</name>
|
<name>go_trainer</name>
|
||||||
</data>
|
</data>
|
||||||
</configuration>
|
</configuration>
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
2
sai.php
2
sai.php
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||||
require_once 'go-trainer/autoload.inc'; //Project Classes
|
require_once 'go_trainer/autoload.inc'; //Project Classes
|
||||||
require_once '/home/web/web/config/get_config.php';
|
require_once '/home/web/web/config/get_config.php';
|
||||||
|
|
||||||
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||||
require_once 'go-trainer/autoload.inc'; //Project Classes
|
require_once 'go_trainer/autoload.inc'; //Project Classes
|
||||||
require_once '/home/web/web/config/get_config.php';
|
require_once '/home/web/web/config/get_config.php';
|
||||||
|
|
||||||
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||||
|
|||||||
Reference in New Issue
Block a user