Moving to GitHub.
[platal.git] / include / common.inc.php
index d26f8f2..b0f5b8a 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2013 Polytechnique.org                              *
+ *  Copyright (C) 2003-2014 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -31,7 +31,7 @@ function xorg_autoload($cls)
                 || substr($cls, 0, 8) == 'plfilter') {
             xorg_autoload('plfilter');
             return;
-        } else if (substr($cls, 0, 3) == 'de_') {
+        } else if ($cls == 'direnumeration' || substr($cls, 0, 3) == 'de_') {
             xorg_autoload('direnum');
             return;
         } else if ($cls == 'validate' || substr($cls, -3, 3) == 'req'
@@ -57,5 +57,5 @@ function __autoload($cls)
 
 spl_autoload_register('xorg_autoload');
 
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
 ?>