SOURCES (DEVEL): mythweb-config.patch - fix path to icons
glen
glen at pld-linux.org
Wed Feb 1 20:25:55 CET 2006
Author: glen Date: Wed Feb 1 19:25:55 2006 GMT
Module: SOURCES Tag: DEVEL
---- Log message:
- fix path to icons
---- Files affected:
SOURCES:
mythweb-config.patch (1.3.2.5 -> 1.3.2.6)
---- Diffs:
================================================================
Index: SOURCES/mythweb-config.patch
diff -u SOURCES/mythweb-config.patch:1.3.2.5 SOURCES/mythweb-config.patch:1.3.2.6
--- SOURCES/mythweb-config.patch:1.3.2.5 Wed Feb 1 20:19:34 2006
+++ SOURCES/mythweb-config.patch Wed Feb 1 20:25:50 2006
@@ -58,3 +58,24 @@
// Make sure the image cache path exists and is writable
if (!is_dir(cache_dir) && !mkdir(cache_dir, 0755)) {
+--- ./mythweb/modules/tv/handler.php 2006-02-01 21:18:41.000000000 +0200
++++ ./modules/tv/handler.php 2006-02-01 21:18:43.170715902 +0200
+@@ -14,14 +14,14 @@
+ /**/
+
+ // Make sure the image cache path exists and is writable
+- if (!is_dir('data/tv_icons') && !mkdir('data/tv_icons', 0755)) {
+- $Error = 'Error creating data/tv_icons: Please check permissions on the data directory.';
++ if (!is_dir('/var/cache/mythweb/tv_icons') && !mkdir('/var/cache/mythweb/tv_icons', 0755)) {
++ $Error = 'Error creating /var/cache/mythweb/tv_icons: Please check permissions on the data directory.';
+ require_once 'templates/_error.php';
+ exit;
+ }
+- if (!is_writable('data/tv_icons')) {
++ if (!is_writable('/var/cache/mythweb/tv_icons')) {
+ $process_user = posix_getpwuid(posix_geteuid());
+- $Error = 'data/tv_icons directory is not writable by '.$process_user['name'].'. Please check permissions.';
++ $Error = '/var/cache/mythweb/tv_icons directory is not writable by '.$process_user['name'].'. Please check permissions.';
+ require_once 'templates/_error.php';
+ exit;
+ }
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mythweb-config.patch?r1=1.3.2.5&r2=1.3.2.6&f=u
More information about the pld-cvs-commit
mailing list