SOURCES (DEVEL): mythweb-config.patch - full path fix
glen
glen at pld-linux.org
Sat Nov 5 15:15:40 CET 2005
Author: glen Date: Sat Nov 5 14:15:40 2005 GMT
Module: SOURCES Tag: DEVEL
---- Log message:
- full path fix
---- Files affected:
SOURCES:
mythweb-config.patch (1.3.2.2 -> 1.3.2.3)
---- Diffs:
================================================================
Index: SOURCES/mythweb-config.patch
diff -u SOURCES/mythweb-config.patch:1.3.2.2 SOURCES/mythweb-config.patch:1.3.2.3
--- SOURCES/mythweb-config.patch:1.3.2.2 Fri Nov 4 02:08:43 2005
+++ SOURCES/mythweb-config.patch Sat Nov 5 15:15:35 2005
@@ -97,3 +97,14 @@
// For the "movies" search -- set this to the word your listings provider uses to
// describe movies/films/peliculas/etc.
+--- /mythweb/includes/mythbackend.php~ 2005-10-22 13:31:12.000000000 +0300
++++ /mythweb/includes/mythbackend.php 2005-11-04 23:31:31.707600269 +0200
+@@ -335,7 +335,7 @@
+ // Make sure the local path exists
+ $path = '';
+ foreach (split('/+', dirname($pngpath)) as $dir) {
+- $path .= $path ? '/' . $dir : $dir;
++ $path .= $path ? ('/' . $dir) : ($dir ? $dir : "/$dir");
+ if(!is_dir($path) && !mkdir($path, 0755))
+ trigger_error('Error creating path for '.$path.': Please check permissions.', FATAL);
+ }
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mythweb-config.patch?r1=1.3.2.2&r2=1.3.2.3&f=u
More information about the pld-cvs-commit
mailing list