52 if ($source ===
false)
54 $sql =
"SELECT `version` FROM `" . TABLE_PREFIX .
"addons` WHERE `directory`='" . $modulname .
"'";
59 $info_file = LEPTON_PATH .
'/modules/' . $modulname .
'/info.php';
60 if (file_exists($info_file))
62 $module_version =
null;
64 $version = &$module_version;