We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcb0ce4 commit d081b06Copy full SHA for d081b06
public_html/lists/admin/updateLib.php
@@ -7,6 +7,7 @@
7
*/
8
function getCurrentphpListVersion($path = '')
9
{
10
+ if (empty($path)) return false;
11
$version = file_get_contents($path);
12
$matches = array();
13
preg_match_all('/define\(\"VERSION\",\"(.*)\"\);/', $version, $matches);
0 commit comments