summaryrefslogtreecommitdiff
path: root/moe
diff options
context:
space:
mode:
Diffstat (limited to 'moe')
-rw-r--r--moe/includes/core.php1
-rw-r--r--moe/index.php1
2 files changed, 0 insertions, 2 deletions
diff --git a/moe/includes/core.php b/moe/includes/core.php
index deb4937..4a5c61d 100644
--- a/moe/includes/core.php
+++ b/moe/includes/core.php
@@ -2,7 +2,6 @@
// This file will handle all functions used by Pomf's Moe Panel
// and just like the rest of the moe code this is a mess and will be
// replaced soon
-session_set_cookie_params(0, '/', '.pomf.se');
session_start();
$db = new PDO('mysql:unix_socket=/var/run/mysqld/mysqld.sock;dbname=xxx', 'xxx', 'xxx', array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'UTF8'"));
diff --git a/moe/index.php b/moe/index.php
index 43c8f23..0ff0176 100644
--- a/moe/index.php
+++ b/moe/index.php
@@ -1,5 +1,4 @@
<?php
-session_set_cookie_params(0, '/', '.pomf.se');
session_start();
if(isset($_SESSION['id'])){
header('Location: includes/api.php?do=cp');