From e1c7e90db645e037cc04593b838edd9b7ae41d9d Mon Sep 17 00:00:00 2001
From: Karl Dietz <dekarl@users.sourceforge.net>
Date: Fri, 3 Aug 2012 23:26:30 +0200
Subject: [PATCH 2/2] change ':' to PATH_SEPARATOR in mythweb.php
In mythweb.php, include_path is set numerous times using PATH_SEPARATOR except
for one case where a literal ':' is used.
Patch by Karog
Fixes #10791
---
mythweb.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mythweb.php b/mythweb.php
index bba2aa8..79ff196 100644
a
|
b
|
|
30 | 30 | if (Modules::getModule($Path[0])) { |
31 | 31 | // Add the current module directory to our search path, so modules can |
32 | 32 | // define includes, etc. |
33 | | ini_set('include_path', ini_get('include_path').':'.modules_path.'/'.$Path[0]); |
| 33 | ini_set('include_path', ini_get('include_path').PATH_SEPARATOR.modules_path.'/'.$Path[0]); |
34 | 34 | // Load the module handler |
35 | 35 | require_once 'handler.php'; |
36 | 36 | } |