Use mysqli for LOAD DATA LOCAL INFILE.
[platal.git] / modules / urlshortener.php
index 33b5153..c6cf94f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2011 Polytechnique.org                              *
+ *  Copyright (C) 2003-2014 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -25,7 +25,7 @@ class UrlShortenerModule extends PLModule
     {
         return array(
             'url'       => $this->make_hook('url',       AUTH_PUBLIC),
-            'admin/url' => $this->make_hook('admin_url', AUTH_MDP, 'admin')
+            'admin/url' => $this->make_hook('admin_url', AUTH_PASSWD, 'admin')
         );
     }
 
@@ -89,5 +89,5 @@ class UrlShortenerModule extends PLModule
     }
 }
 
-// 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:
 ?>