]> 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
old mode 100644 (file)
new mode 100755 (executable)
index f815428..1385848
 
 // 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';
 
 $base = INSTALLDIR;
 $encBase = escapeshellarg($base);
 
-$ver = STATUSNET_VERSION;
+$ver = GNUSOCIAL_VERSION;
 
 // @fixme hack
 if (preg_match('/^(\d+)\.(\d+)\.(\d+)/', $ver, $matches)) {