]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/gnusocialversion.php
Check scope, else a privacy leaks happens this way:
[quix0rs-gnu-social.git] / scripts / gnusocialversion.php
index 024e3330d8b2b1eb755786aabb1147edfa13d64a..91c2dc7f646ec759ddac1bff7008876fbccee86c 100644 (file)
@@ -28,6 +28,6 @@ prints out the current version of the software
 
 END_OF_HELP;
 
-require_once INSTALLDIR.'/scripts/commandline.inc';
+require_once INSTALLDIR.'/scripts/commandline.inc.php';
 
-print STATUSNET_VERSION."\n";
+print GNUSOCIAL_VERSION."\n";