]> git.pld-linux.org Git - packages/mythplugins.git/blame - mythweb-chdir.patch
- fix shebangs and files, rel 11
[packages/mythplugins.git] / mythweb-chdir.patch
CommitLineData
fc302853
JR
1diff -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 @@
8e0cddce
JK
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?
fc302853 12 if (!empty($_SERVER['include_path']) && $_SERVER['include_path'] != '.') {
8e0cddce 13 ini_set('include_path', $_SERVER['include_path'].PATH_SEPARATOR.ini_get('include_path'));
This page took 0.188847 seconds and 4 git commands to generate.