]> git.pld-linux.org Git - packages/mythplugins.git/commitdiff
- fix path to icons
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 1 Feb 2006 19:25:50 +0000 (19:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mythweb-config.patch -> 1.3.2.6

mythweb-config.patch

index c9cdbc3407c56a549cbc6375e083fb438c6b0c73..ebec1fc36d86999274fa42da2379b2351773fd6e 100644 (file)
@@ -58,3 +58,24 @@ diff -ur ./mythweb/includes/init.php /tmp/mythweb/includes/init.php
  
  // 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;
+     }
This page took 0.076831 seconds and 4 git commands to generate.