summaryrefslogtreecommitdiff
path: root/moe/includes
diff options
context:
space:
mode:
Diffstat (limited to 'moe/includes')
-rw-r--r--moe/includes/core.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/moe/includes/core.php b/moe/includes/core.php
index 4a5c61d..deb4937 100644
--- a/moe/includes/core.php
+++ b/moe/includes/core.php
@@ -2,6 +2,7 @@
// 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'"));