Commit 08b1a1c7 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-943 Need to prepend the REAL_BASE_PATH when checking for IPC provider

file.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 14ab36ed
...@@ -77,7 +77,7 @@ abstract class InterProcessData { ...@@ -77,7 +77,7 @@ abstract class InterProcessData {
$this->provider_class = defined('IPC_PROVIDER') ? IPC_PROVIDER : false; $this->provider_class = defined('IPC_PROVIDER') ? IPC_PROVIDER : false;
if (!$this->provider_class) { if (!$this->provider_class) {
foreach(self::$providerLoadOrder as $provider => $file) { foreach(self::$providerLoadOrder as $provider => $file) {
if (file_exists($file) && class_exists($provider)) { if (file_exists(REAL_BASE_PATH . $file) && class_exists($provider)) {
$this->provider_class = $provider; $this->provider_class = $provider;
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment