Moving to GitHub.
[platal.git] / bin / connect.db.inc.php
index 0d8015e..2f267f5 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2008 Polytechnique.org                              *
+ *  Copyright (C) 2003-2014 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -19,6 +19,7 @@
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************/
 
+ini_set('memory_limit', '64M');
 ini_set('include_path', dirname(__FILE__) . '/../core/include:'
                       . dirname(__FILE__) . '/../include:'
                       . dirname(__FILE__) . '/../core/classes:'
@@ -28,5 +29,8 @@ require_once('xorg.inc.php');
 
 new Xorg('core');
 
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// Do not store backtraces
+Platal::globals()->debug = 0;
+
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
 ?>