From b68a266a734193dfeee8d9f52b9888b2798eb50c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 12 Apr 2013 14:06:20 +0400 Subject: remove no_cache_incantation() --- index.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index b3f63d461..2fa856631 100644 --- a/index.php +++ b/index.php @@ -50,8 +50,6 @@ login_sequence($link); - no_cache_incantation(); - header('Content-Type: text/html; charset=utf-8'); ?> -- cgit v1.2.3 From 95437e9e0756edacb835843074c12632c11a64b1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Apr 2013 10:50:46 +0400 Subject: tweak notify layout/display --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 2fa856631..066b25fa5 100644 --- a/index.php +++ b/index.php @@ -138,7 +138,7 @@ -
 
+ -- cgit v1.2.3 From ba68b6815ab31d17cda113e7990eeb07558b02a9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Apr 2013 14:23:35 +0400 Subject: db updates, remove init_connection() --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 066b25fa5..c21b46809 100644 --- a/index.php +++ b/index.php @@ -31,7 +31,7 @@ $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - if (!init_connection($link)) return; + if (!init_plugins($link)) return; global $pluginhost; -- cgit v1.2.3 From 404e2e3603c852a3f82a21c14b8888005e2b3f99 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Apr 2013 15:36:34 +0400 Subject: more work on singleton-based DB --- index.php | 1 + 1 file changed, 1 insertion(+) (limited to 'index.php') diff --git a/index.php b/index.php index c21b46809..66e236dae 100644 --- a/index.php +++ b/index.php @@ -19,6 +19,7 @@ set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR . get_include_path()); + require_once "autoload.php"; require_once "sessions.php"; require_once "functions.php"; require_once "sanity_check.php"; -- cgit v1.2.3 From 6322ac79a020ab584d412d782d62b2ee77d7c6cf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Apr 2013 16:23:15 +0400 Subject: remove $link --- index.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 66e236dae..cb95b96f0 100644 --- a/index.php +++ b/index.php @@ -32,7 +32,7 @@ $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - if (!init_plugins($link)) return; + if (!init_plugins()) return; global $pluginhost; @@ -49,7 +49,7 @@ } } - login_sequence($link); + login_sequence(); header('Content-Type: text/html; charset=utf-8'); @@ -65,14 +65,14 @@ - +