openmamba logo
GNU/Linux distribution
distribution community wiki forum bugs events products
software   community wiki forum bugs events products
packages joomla-1.5.9-safe_mode_disable_warnings.patch
      Pages: < 1 >  DOWNLOAD      
diff -Nru joomla-1.5.9.org/libraries/joomla/filesystem/path.php joomla-1.5.9/libraries/joomla/filesystem/path.php
--- joomla-1.5.9.org/libraries/joomla/filesystem/path.php	2009-01-10 03:53:07.000000000 +0100
+++ joomla-1.5.9/libraries/joomla/filesystem/path.php	2009-03-26 19:17:37.000000000 +0100
@@ -244,8 +244,8 @@
 			{
 				// not a stream, so do a realpath() to avoid directory
 				// traversal attempts on the local file system.
-				$path = realpath($path); // needed for substr() later
-				$fullname = realpath($fullname);
+				@$path = realpath($path); // needed for substr() later
+				@$fullname = realpath($fullname);
 			}
 
 			// the substr() check added to make sure that the realpath()