]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/make-release.php
Make attachment fit better in notice: drop text and link
[quix0rs-gnu-social.git] / scripts / make-release.php
index 157cae067db619a491c0ed9d8a07a8f8ae97f1a5..138584888e3086abad6dc18babfdcbe305f951ed 100755 (executable)
@@ -20,7 +20,8 @@
 
 // Abort if called from a web server
 
-define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
+define('INSTALLDIR', dirname(__DIR__));
+define('PUBLICDIR', INSTALLDIR . DIRECTORY_SEPARATOR . 'public');
 
 require_once INSTALLDIR.'/scripts/commandline.inc';