Move globals.inc.php to /classes
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 22 Jun 2008 21:01:17 +0000 (23:01 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 22 Jun 2008 21:01:17 +0000 (23:01 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Makefile
classes/.gitignore [new file with mode: 0644]
classes/platalglobals.php.in [moved from include/globals.inc.php.in with 100% similarity]
include/.gitignore [deleted file]
include/xnet.inc.php
include/xorg.inc.php

index 0b6b37b..9bdef66 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@ q:
 ## core
 ##
 
-core: spool/templates_c spool/mails_c include/globals.inc.php configs/platal.cron htdocs/.htaccess spool/conf spool/tmp
+core: spool/templates_c spool/mails_c classes/platalglobals.php configs/platal.cron htdocs/.htaccess spool/conf spool/tmp
 
 spool/templates_c spool/mails_c spool/uploads spool/conf spool/tmp:
        mkdir -p $@
diff --git a/classes/.gitignore b/classes/.gitignore
new file mode 100644 (file)
index 0000000..b478258
--- /dev/null
@@ -0,0 +1 @@
+/platalglobals.php
diff --git a/include/.gitignore b/include/.gitignore
deleted file mode 100644 (file)
index c68a431..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/globals.inc.php
index 42b047d..f3fc1a8 100644 (file)
@@ -24,7 +24,6 @@ define('PL_SESSION_CLASS', 'XnetSession');
 define('PL_PAGE_CLASS', 'XnetPage');
 
 require_once dirname(dirname(__FILE__)) . '/core/include/platal.inc.php';
-require_once 'globals.inc.php';
 
 function __autoload($cls)
 {
index d463f7d..8927aba 100644 (file)
@@ -25,7 +25,6 @@ define('PL_PAGE_CLASS', 'XorgPage');
 
 require_once dirname(dirname(__FILE__)) . '/core/include/platal.inc.php';
 require_once 'security.inc.php';
-require_once 'globals.inc.php';
 
 function __autoload($cls)
 {