]> git.pld-linux.org Git - packages/mythplugins.git/commitdiff
- patch to make relative paths used by mythweb work
authorJacek Konieczny <jajcus@pld-linux.org>
Sat, 23 Jan 2010 13:36:36 +0000 (13:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mythweb-chdir.patch -> 1.1

mythweb-chdir.patch [new file with mode: 0644]

diff --git a/mythweb-chdir.patch b/mythweb-chdir.patch
new file mode 100644 (file)
index 0000000..e0a17a9
--- /dev/null
@@ -0,0 +1,13 @@
+diff -dur -x'*~' mythplugins-0.22.orig/mythweb/mythweb.php mythplugins-0.22/mythweb/mythweb.php
+--- mythplugins-0.22.orig/mythweb/mythweb.php  2009-01-20 07:42:03.000000000 +0100
++++ mythplugins-0.22/mythweb/mythweb.php       2010-01-23 14:34:35.000000000 +0100
+@@ -12,6 +12,9 @@
+  *
+ /**/
++// MythWeb seems uses relative paths for everything... let it work
++  chdir('/usr/share/mythweb');
++
+ // Add a custom include path?
+     if (!empty($_SERVER['include_path']) && $_SERVER['include_path'] != '.')
+         ini_set('include_path', $_SERVER['include_path'].PATH_SEPARATOR.ini_get('include_path'));
This page took 0.097747 seconds and 4 git commands to generate.