]> git.sur5r.net Git - contagged/blobdiff - init.php
reverted deafult modifier, added shortcut for manual escaping
[contagged] / init.php
index b46c6dca9cae1d1deb159a13a8de9c8d6746b0bb..3130292d46b87b9ba9b202ee21a77ff2a8eff155 100644 (file)
--- a/init.php
+++ b/init.php
@@ -1,14 +1,17 @@
 <?
   require_once('config.php');
+  require_once('fields.php');
   require_once('lang/'.$conf['lang'].'.php');
   require_once('functions.php');
   require_once('template.php');
   require_once('smarty/Smarty.class.php');
 
+  define('NL',"\n");
+
   //init session
   session_name("ldapab");
   session_start();
-  
+
   //kill magic quotes
   if (get_magic_quotes_gpc()) {
     if (!empty($_GET))    remove_magic_quotes($_GET);
@@ -27,8 +30,8 @@
       }else {
         $array[$key] = stripslashes($array[$key]);
       }
-    } 
-  } 
+    }
+  }
 
   //prepare SMARTY object
   $smarty = new Smarty;