From c4f962a7d096d60a5cfd1872d695b0f0bb76347c Mon Sep 17 00:00:00 2001 From: Diogo Cordeiro Date: Thu, 25 Apr 2019 22:32:30 +0100 Subject: [PATCH] Fix wrong path on Realtime cleanupchannels script by XRevan86 --- plugins/Realtime/scripts/cleanupchannels.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Realtime/scripts/cleanupchannels.php b/plugins/Realtime/scripts/cleanupchannels.php index 37883b1da6..4aa0a4ba50 100755 --- a/plugins/Realtime/scripts/cleanupchannels.php +++ b/plugins/Realtime/scripts/cleanupchannels.php @@ -20,7 +20,7 @@ * along with this program. If not, see . */ -define('INSTALLDIR', realpath(dirname(__FILE__) . '/../..')); +define('INSTALLDIR', realpath(__DIR__ . '/../../..')); $shortoptions = 'u'; $longoptions = array('universe');