From b8b63f4f63f81575b5b5f981f160885557e0513f Mon Sep 17 00:00:00 2001 From: koboshi Date: Fri, 3 Jan 2014 16:25:28 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E5=85=A5=E5=8F=A3=E6=96=87=E4=BB=B6include?= =?UTF-8?q?=E7=B1=BB=E5=BA=93=E4=BB=8E=E7=9B=B8=E5=AF=B9=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E7=BB=9D=E5=AF=B9=E8=B7=AF=E5=BE=84=20includ?= =?UTF-8?q?e=5Fonce=E6=94=B9=E4=B8=BArequire=20=E9=81=BF=E5=85=8D=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E5=8C=85=E5=90=AB=E5=92=8C=E5=B5=8C=E5=A5=97=E5=BC=95?= =?UTF-8?q?=E8=B5=B7bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 12 +++++++++++- index.php | 3 ++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e43b0f9..87db7ea 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,11 @@ -.DS_Store +INSTALL.txt +LICENSE.txt +README.txt +demos/ +extras/documentation +.buildpath +.settings +.settings/ +.idea/ +/idea +.project \ No newline at end of file diff --git a/index.php b/index.php index d66de1a..9db5539 100755 --- a/index.php +++ b/index.php @@ -6,5 +6,6 @@ define( 'AROOT' , dirname( __FILE__ ) . DS ); //ini_set('include_path', dirname( __FILE__ ) . DS .'_lp' ); -include_once( '_lp'.DS .'lp.init.php' ); +//include_once( '_lp'.DS .'lp.init.php' ); +include AROOT . '_lp'.DS .'lp.init.php'; /**** lp framework init finished ***/ From bda042d2d6dc2fe62b6f6736950565b5b8d91ec3 Mon Sep 17 00:00:00 2001 From: koboshi Date: Fri, 3 Jan 2014 16:36:59 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=8E=E5=90=A6=E7=8E=B0=E5=9C=A8=E5=8F=AF?= =?UTF-8?q?=E9=80=9A=E8=BF=87=E5=B8=B8=E9=87=8FDEBUG=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _lp/lp.init.php | 16 ++++++++++------ index.php | 1 + 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/_lp/lp.init.php b/_lp/lp.init.php index b7ff903..5bf2c2e 100755 --- a/_lp/lp.init.php +++ b/_lp/lp.init.php @@ -1,7 +1,6 @@ Date: Fri, 3 Jan 2014 16:54:57 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E7=95=A5=E5=BE=AE=E7=9A=84=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _lp/core/controller/core.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_lp/core/controller/core.class.php b/_lp/core/controller/core.class.php index 5b7361e..24eac79 100755 --- a/_lp/core/controller/core.class.php +++ b/_lp/core/controller/core.class.php @@ -1,6 +1,6 @@ Date: Sat, 4 Jan 2014 10:26:23 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E6=94=B9=E5=9B=9Eif=20(!defined('IN'))=20d?= =?UTF-8?q?ie('bad=20request');=E5=BD=A2=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _lp/core/controller/core.class.php | 2 +- _lp/lp.init.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_lp/core/controller/core.class.php b/_lp/core/controller/core.class.php index 24eac79..e211b85 100755 --- a/_lp/core/controller/core.class.php +++ b/_lp/core/controller/core.class.php @@ -1,6 +1,6 @@