summaryrefslogtreecommitdiff
path: root/moe/includes
diff options
context:
space:
mode:
authorneku nekus <neku@pomf.se>2014-01-15 13:28:22 +0100
committerneku nekus <neku@pomf.se>2014-01-15 13:28:22 +0100
commite6fc50aaadaee92122b02fda245ee7cfcc52eb53 (patch)
tree43e36ee63552a764f0877e84b361ef6782eca9bd /moe/includes
parentb451727a18bcbfa70fdc9178d14367a46f27a88a (diff)
accounts?
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'"));