remove manageurs hook as well
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 23 Jul 2006 22:25:10 +0000 (22:25 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 23 Jul 2006 22:25:10 +0000 (22:25 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@616 839d8a87-29fc-0310-9880-83ba4fa771e5

configs/platal.ini
hooks/manageurs.inc.php [deleted file]

index 3fee6ac..350fc58 100644 (file)
@@ -25,8 +25,14 @@ spool     = "/var/spool/platal/archives/"
 vhost_sep = "_"
 
 
+[Manageurs]
+authorized_ips       = "129.104.30.32 129.104.30.33 213.251.145.200"
+manageurs_cipher_key = ""
+manageurs_pass       = ""
+
+
 [Money]
-mpay_enable   = true
+mpay_enable   = 1
 mpay_def_id   = 0
 mpay_def_meth = 0
 mpay_tprefix  = "paiement."
diff --git a/hooks/manageurs.inc.php b/hooks/manageurs.inc.php
deleted file mode 100644 (file)
index 4bdd563..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
-/***************************************************************************
- *  Copyright (C) 2003-2006 Polytechnique.org                              *
- *  http://opensource.polytechnique.org/                                   *
- *                                                                         *
- *  This program is free software; you can redistribute it and/or modify   *
- *  it under the terms of the GNU General Public License as published by   *
- *  the Free Software Foundation; either version 2 of the License, or      *
- *  (at your option) any later version.                                    *
- *                                                                         *
- *  This program is distributed in the hope that it will be useful,        *
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of         *
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
- *  GNU General Public License for more details.                           *
- *                                                                         *
- *  You should have received a copy of the GNU General Public License      *
- *  along with this program; if not, write to the Free Software            *
- *  Foundation, Inc.,                                                      *
- *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
- ***************************************************************************/
-
-// {{{ config HOOK
-
-class ManageursConfig
-{
-    var $authorized_ips = '129.104.30.32 129.104.30.33 213.251.145.200';
-    var $manageurs_cipher_key = '';
-    var $manageurs_pass = '';
-}
-
-function manageurs_config()
-{
-    global $globals;
-    $globals->manageurs = new ManageursConfig;
-}
-
-// }}}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker:
-?>