From f12eeec1ec473aed6c830bef528aebd12ba828e9 Mon Sep 17 00:00:00 2001 From: rylon Date: Mon, 8 Jun 2015 14:01:35 +0200 Subject: [PATCH] included lib_jquery --- .gitmodules | 3 +++ lib/autoload.inc | 4 +++- lib/jquery | 1 + sai/page/default_page.php | 3 ++- system/path.php | 5 +++++ 5 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 .gitmodules create mode 160000 lib/jquery diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..2683f13 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "lib/jquery"] + path = lib/jquery + url = git@mojotrollz.eu:webcraft/lib_jquery.git diff --git a/lib/autoload.inc b/lib/autoload.inc index 9f4fce1..3272852 100644 --- a/lib/autoload.inc +++ b/lib/autoload.inc @@ -1,3 +1,5 @@ '. + $result = //''. + ''. ''. ''. ''. diff --git a/system/path.php b/system/path.php index 185f995..2ebbefc 100644 --- a/system/path.php +++ b/system/path.php @@ -24,6 +24,11 @@ class PSAI extends PATH { return C_ROOT.\SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_SYSTEMPATHREL).'sai/'.C_SUBPATH;} } +class PLIB extends PATH { + static public function getPath(){ + return C_ROOT.\SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_SYSTEMPATHREL).'lib/'.C_SUBPATH;} +} + function SERVERPATH(\SYSTEM\PATH $basepath, $subpath = ''){ return str_replace( array(C_ROOT,C_SUBPATH), array(\SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEPATH),$subpath),