packages: mythplugins/mythweb-chdir.patch (NEW) - patch to make relative pa...
jajcus
jajcus at pld-linux.org
Sat Jan 23 14:36:41 CET 2010
Author: jajcus Date: Sat Jan 23 13:36:41 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- patch to make relative paths used by mythweb work
---- Files affected:
packages/mythplugins:
mythweb-chdir.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/mythplugins/mythweb-chdir.patch
diff -u /dev/null packages/mythplugins/mythweb-chdir.patch:1.1
--- /dev/null Sat Jan 23 14:36:41 2010
+++ packages/mythplugins/mythweb-chdir.patch Sat Jan 23 14:36:36 2010
@@ -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'));
================================================================
More information about the pld-cvs-commit
mailing list