X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fdocgen.php;h=6341b72706cc0b5e1878c8ce59265334d18029b5;hb=7e47026085fa4f2071e694d9c3e3fe2aa5142135;hp=ac0a5c83dcc380a9bab719506d4c498aecc759fd;hpb=f8883367184e4fd31dc819d5e1257d0eee11eb10;p=quix0rs-gnu-social.git diff --git a/scripts/docgen.php b/scripts/docgen.php index ac0a5c83dc..6341b72706 100755 --- a/scripts/docgen.php +++ b/scripts/docgen.php @@ -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';