basic files
This commit is contained in:
parent
249cef46f2
commit
69a4dd068c
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/nbproject/private/
|
||||||
9
api.php
Normal file
9
api.php
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||||
|
require_once 'demo_basic/autoload.inc'; //Project Classes
|
||||||
|
require_once '/home/web/web/config/get_config.php';
|
||||||
|
|
||||||
|
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||||
|
|
||||||
|
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','api_demo_basic',array_merge($_POST,$_GET));
|
||||||
|
new \SYSTEM\LOG\COUNTER("API was called sucessfully.");
|
||||||
8
demo_basic/autoload.inc
Normal file
8
demo_basic/autoload.inc
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
require_once dirname(__FILE__).'/path/autoload.inc';
|
||||||
|
require_once dirname(__FILE__).'/page/autoload.inc';
|
||||||
|
require_once dirname(__FILE__).'/files/autoload.inc';
|
||||||
|
require_once dirname(__FILE__).'/api/autoload.inc';
|
||||||
|
require_once dirname(__FILE__).'/sql/autoload.inc';
|
||||||
|
require_once dirname(__FILE__).'/sai/autoload.inc';
|
||||||
|
require_once dirname(__FILE__).'/cron/autoload.inc';
|
||||||
9
index.php
Normal file
9
index.php
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||||
|
require_once 'demo_basic/autoload.inc'; //Project Classes
|
||||||
|
require_once '/home/web/web/config/get_config.php';
|
||||||
|
|
||||||
|
\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);
|
||||||
|
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_56
|
||||||
|
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>basic</name>
|
||||||
|
</data>
|
||||||
|
</configuration>
|
||||||
|
</project>
|
||||||
8
sai.php
Normal file
8
sai.php
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||||
|
require_once 'demo_basic/autoload.inc'; //Project Classes
|
||||||
|
require_once '/home/web/web/config/get_config.php';
|
||||||
|
|
||||||
|
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||||
|
|
||||||
|
echo (new SYSTEM\SAI\saigui())->html();
|
||||||
8
setup.php
Normal file
8
setup.php
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||||
|
require_once 'demo_basic/autoload.inc'; //Project Classes
|
||||||
|
require_once '/home/web/web/config/get_config.php';
|
||||||
|
|
||||||
|
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||||
|
|
||||||
|
echo \SYSTEM\SQL\setup::install();
|
||||||
Reference in New Issue
Block a user