]> git.pld-linux.org Git - packages/mythplugins.git/blame - mythweb-chdir.patch
- build with system zmq
[packages/mythplugins.git] / mythweb-chdir.patch
CommitLineData
8e0cddce
JK
1diff -dur -x'*~' mythplugins-0.22.orig/mythweb/mythweb.php mythplugins-0.22/mythweb/mythweb.php
2--- mythplugins-0.22.orig/mythweb/mythweb.php 2009-01-20 07:42:03.000000000 +0100
3+++ mythplugins-0.22/mythweb/mythweb.php 2010-01-23 14:34:35.000000000 +0100
4@@ -12,6 +12,9 @@
5 *
6 /**/
7
8+// MythWeb seems uses relative paths for everything... let it work
9+ chdir('/usr/share/mythweb');
10+
11 // Add a custom include path?
12 if (!empty($_SERVER['include_path']) && $_SERVER['include_path'] != '.')
13 ini_set('include_path', $_SERVER['include_path'].PATH_SEPARATOR.ini_get('include_path'));
This page took 0.087765 seconds and 4 git commands to generate.