]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/docgen.php
implement javascript callbacks (no remove yet)
[quix0rs-gnu-social.git] / scripts / docgen.php
index ac0a5c83dcc380a9bab719506d4c498aecc759fd..6341b72706cc0b5e1878c8ce59265334d18029b5 100755 (executable)
@@ -72,9 +72,9 @@ if ($plugin) {
 
 function getVersion()
 {
-    // define('STATUSNET_VERSION', '0.9.1');
+    // define('GNUSOCIAL_VERSION', '0.9.1');
     $source = file_get_contents(INSTALLDIR . '/lib/common.php');
-    if (preg_match('/^\s*define\s*\(\s*[\'"]STATUSNET_VERSION[\'"]\s*,\s*[\'"](.*)[\'"]\s*\)\s*;/m', $source, $matches)) {
+    if (preg_match('/^\s*define\s*\(\s*[\'"]GNUSOCIAL_VERSION[\'"]\s*,\s*[\'"](.*)[\'"]\s*\)\s*;/m', $source, $matches)) {
         return $matches[1];
     }
     return 'unknown';