From: Diogo Cordeiro Date: Thu, 25 Apr 2019 21:32:30 +0000 (+0100) Subject: Fix wrong path on Realtime cleanupchannels script by XRevan86 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c4f962a7d096d60a5cfd1872d695b0f0bb76347c;p=quix0rs-gnu-social.git Fix wrong path on Realtime cleanupchannels script by XRevan86 --- 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');