aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 4e9454e34..3bb03d4bd 100644
--- a/index.php
+++ b/index.php
@@ -44,7 +44,7 @@ if ( isset( $_GET['act'] )
$_SESSION = array();
session_unset();
session_destroy();
- setcookie(session_name(),'',0, cookie_path() );
+ setcookie(session_name(),'',0, ini_get('session.cookie_path') );
redirect( make_index_url() );
}