SOURCES: eventum-paths.patch - update for superglobals

glen glen at pld-linux.org
Thu Dec 7 21:09:16 CET 2006


Author: glen                         Date: Thu Dec  7 20:09:16 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- update for superglobals

---- Files affected:
SOURCES:
   eventum-paths.patch (1.31 -> 1.32) 

---- Diffs:

================================================================
Index: SOURCES/eventum-paths.patch
diff -u SOURCES/eventum-paths.patch:1.31 SOURCES/eventum-paths.patch:1.32
--- SOURCES/eventum-paths.patch:1.31	Mon Sep 18 23:18:22 2006
+++ SOURCES/eventum-paths.patch	Thu Dec  7 21:09:11 2006
@@ -152,7 +152,7 @@
 +        return "The file '/etc/webapps/eventum/config.php' needs to be writable by the web server user. Please correct this problem and try again.";
      }
      // gotta check and see if the provided installation path really exists...
-     if (!file_exists($HTTP_POST_VARS['path'])) {
+     if (!file_exists($_POST['path'])) {
 @@ -287,16 +287,16 @@
      $private_key = '<?php
  $private_key = "' . md5(microtime()) . '";
@@ -180,7 +180,7 @@
  }
  
 -
--$full_url = dirname($HTTP_SERVER_VARS['PHP_SELF']);
+-$full_url = dirname($_SERVER['PHP_SELF']);
 -$pieces = explode("/", $full_url);
 -$relative_url = array();
 -$relative_url[] = '';
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/eventum-paths.patch?r1=1.31&r2=1.32&f=u



More information about the pld-cvs-commit mailing list