]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix wrong path on Realtime cleanupchannels script by XRevan86
authorDiogo Cordeiro <diogo@fc.up.pt>
Thu, 25 Apr 2019 21:32:30 +0000 (22:32 +0100)
committerDiogo Cordeiro <diogo@fc.up.pt>
Thu, 25 Apr 2019 22:12:58 +0000 (23:12 +0100)
plugins/Realtime/scripts/cleanupchannels.php

index 37883b1da65d41f013273b5f8cdc355432b64baa..4aa0a4ba50a20d1cfa1e0dde795b3e763ebc5389 100755 (executable)
@@ -20,7 +20,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-define('INSTALLDIR', realpath(dirname(__FILE__) . '/../..'));
+define('INSTALLDIR', realpath(__DIR__ . '/../../..'));
 
 $shortoptions = 'u';
 $longoptions = array('universe');