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 @@ - +