[Fusionforge-commits] r7135 - trunk/gforge/db

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Sun Mar 8 15:08:00 CET 2009


Author: aljeux
Date: 2009-03-08 15:07:59 +0100 (Sun, 08 Mar 2009)
New Revision: 7135

Modified:
   trunk/gforge/db/upgrade-db.php
Log:
Add missing env.inc.php for gforge/db/upgrade-db.php

Modified: trunk/gforge/db/upgrade-db.php
===================================================================
--- trunk/gforge/db/upgrade-db.php	2009-03-08 14:06:47 UTC (rev 7134)
+++ trunk/gforge/db/upgrade-db.php	2009-03-08 14:07:59 UTC (rev 7135)
@@ -1,5 +1,9 @@
 #! /usr/bin/php5 -f
 <?php
+
+require_once dirname(__FILE__).'/../www/env.inc.php';
+require_once $gfwww.'include/squal_pre.php';
+
 /** 
 * Sets up CLI environment based on SAPI and PHP version 
 */ 
@@ -26,8 +30,6 @@
        ); 
 }
 
-require_once $gfwww.'include/squal_pre.php';
-
 $db_path = './';
 $date = -1;
 $version = '';




More information about the Fusionforge-commits mailing list