summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeku <neku@pomf.se>2013-12-17 02:15:17 +0100
committerNeku <neku@pomf.se>2013-12-17 02:15:17 +0100
commit750d3c2cc1916bdd0be5b029bfced0955eed20d3 (patch)
tree03e857cd94b3b080538ccee2c4f5a22dea6ae2a1
parentf2cc3134c43d674cb658052a340f7c57d008b9d2 (diff)
Update core.php
-rw-r--r--moe/includes/core.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/moe/includes/core.php b/moe/includes/core.php
index 37cec12..4a5c61d 100644
--- a/moe/includes/core.php
+++ b/moe/includes/core.php
@@ -1,5 +1,7 @@
<?php
// 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_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'"));