gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/www/include Layout.class,1.77,1.78


From: cbayle
Subject: [Gforge-commits] gforge/www/include Layout.class,1.77,1.78
Date: Fri, 16 Apr 2004 07:25:29 -0500

Update of /cvsroot/gforge/gforge/www/include
In directory db.perdue.net:/tmp/cvs-serv14125/www/include

Modified Files:
        Layout.class 
Log Message:
Introduce a custom path to manage smoothly customized files


Index: Layout.class
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/Layout.class,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- Layout.class        12 Mar 2004 15:19:35 -0000      1.77
+++ Layout.class        16 Apr 2004 12:25:27 -0000      1.78
@@ -47,8 +47,8 @@
        function Layout() {
                GLOBAL $bgpri;
                // Constructor for parent class...
-               if ( file_exists('/etc/gforge/custom/index_std.php') )
-                       $this->rootindex = '/etc/gforge/custom/index_std.php';
+               if ( file_exists($GLOBALS['sys_custom_path'] . 
'/index_std.php') )
+                       $this->rootindex = $GLOBALS['sys_custom_path'] . 
'/index_std.php';
                $this->Error();
 
                /*





reply via email to

[Prev in Thread] Current Thread [Next in Thread]