/web/pass/index.php |
---|
365,7 → 365,8 |
</table> |
</div> |
"; |
if (isset($action)){ |
if ($action == 'checkpass'){ |
if (is_file("sql/drivers/$config[sql_type]/functions.php")) |
include_once("sql/drivers/$config[sql_type]/functions.php"); |
else{ |
372,8 → 373,6 |
echo "<b>Could not include SQL library</b><br>\n"; |
exit(); |
} |
if (isset($action)){ |
if ($action == 'checkpass'){ |
$link = @da_sql_pconnect($config); |
if ($link){ |
$res = @da_sql_query($link,$config, |