use .arch-inventory like .cvsignore worked
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Wed, 1 Dec 2004 19:27:23 +0000 (19:27 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:26:18 +0000 (23:26 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-3

configs/.arch-inventory
htdocs/.arch-inventory [new file with mode: 0644]
htdocs/banana/.arch-inventory [new file with mode: 0644]
htdocs/banana/include/.arch-inventory [new file with mode: 0644]
include/.arch-inventory [new file with mode: 0644]
include/xorg.globals.inc.php.in [deleted file]

index 20ad676..b6e6b60 100644 (file)
@@ -1 +1 @@
-^platal.conf
+precious ^platal.conf
diff --git a/htdocs/.arch-inventory b/htdocs/.arch-inventory
new file mode 100644 (file)
index 0000000..9999134
--- /dev/null
@@ -0,0 +1 @@
+precious ^valid.html
diff --git a/htdocs/banana/.arch-inventory b/htdocs/banana/.arch-inventory
new file mode 100644 (file)
index 0000000..15b777d
--- /dev/null
@@ -0,0 +1 @@
+precious ^(img|locales|spool)
diff --git a/htdocs/banana/include/.arch-inventory b/htdocs/banana/include/.arch-inventory
new file mode 100644 (file)
index 0000000..973eba0
--- /dev/null
@@ -0,0 +1 @@
+precious ^(encoding.inc.php|groups.inc.php|NetNNTP.inc.php|post.inc.php|spool.inc.php|wrapper.inc.php)
diff --git a/include/.arch-inventory b/include/.arch-inventory
new file mode 100644 (file)
index 0000000..e3c1067
--- /dev/null
@@ -0,0 +1 @@
+precious ^xorg.globals.inc.php
diff --git a/include/xorg.globals.inc.php.in b/include/xorg.globals.inc.php.in
deleted file mode 100644 (file)
index fcbec35..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-<?php
-/***************************************************************************
- *  Copyright (C) 2003-2004 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                *
- ***************************************************************************
-    $Id: xorg.globals.inc.php.in,v 1.8 2004/11/24 14:21:48 x2000habouzit Exp $
- ***************************************************************************/
-
-require_once("diogenes.core.globals.inc.php");
-require_once("diogenes.database.inc.php");
-
-// {{{ class XorgGlobals
-
-class XorgGlobals extends DiogenesCoreGlobals
-{
-    var $page    = 'XorgPage';
-    var $session = 'XorgSession';
-    var $menu;
-
-    /** The x.org version */
-    var $version = "@VERSION@";
-    var $debug   = false;
-
-    /** db params */
-    var $dbdb               = 'x4dat';
-    var $dbhost             = 'localhost';
-    var $dbuser             = 'x4dat';
-    var $dbpwd              = 'x4dat';
-    
-    var $table_auth         = 'auth_user_md5';
-    var $table_log_actions  = 'logger.actions';
-    var $table_log_sessions = 'logger.sessions';
-    var $table_log_events   = 'logger.events';
-
-    /** logger */
-    var $tauth  = array('native'=>"auth_user_md5");
-    var $tlabel = array('native'=>"X.Org");
-
-    /** paths */
-    var $baseurl   = "http://localhost/xorg";
-    var $spoolroot = "/var/spool/xorg";
-    var $root      = null;
-
-    /** recherche */
-    var $public_max_search_results = 25;
-    var $search_results_per_page   = 20;
-
-    function XorgGlobals() {
-        $this->root = dirname(dirname(__FILE__));
-
-        foreach(glob($this->root.'/include/conf.d/*.globals.inc.php') as $inc) {
-            require_once($inc);
-        }
-        
-        $array = parse_ini_file($this->root.'/configs/platal.conf', true);
-        if (!is_array($array)) {
-            return;
-        }
-
-        foreach ($array as $cat=>$conf) {
-            $c = strtolower($cat);
-            foreach ($conf as $key=>$val) {
-                if ($c == 'core' && isset($this->$key)) {
-                    $this->$key=$val;
-                } else {
-                    $this->$c->$key = $val;
-                }
-            }
-        }
-        
-        $this->menu = new XOrgMenu($this->root.'/include/conf.d/');
-
-        session_start();
-
-        $this->dbconnect();
-        if ($this->debug) {
-            $this->db->trace_on();
-        }
-    }
-}
-
-// }}}
-
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker:
-?>