]> git.pld-linux.org Git - packages/mythplugins.git/blob - mythweb-chdir.patch
- rediff patches
[packages/mythplugins.git] / mythweb-chdir.patch
1 diff -urNp -x '*.orig' mythplugins-0.26.1.org/mythweb/mythweb.php mythplugins-0.26.1/mythweb/mythweb.php
2 --- mythplugins-0.26.1.org/mythweb/mythweb.php  2013-06-26 23:10:02.000000000 +0200
3 +++ mythplugins-0.26.1/mythweb/mythweb.php      2021-09-26 12:19:53.182932909 +0200
4 @@ -8,6 +8,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.102272 seconds and 3 git commands to generate.