Commit 8cccf2e8 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) remove isAjax

parent 33394bdc
......@@ -290,10 +290,6 @@ function display_error_form($http_code, $desc)
{
global $config, $g;
$g['theme'] = get_current_theme();
if (isAjax()) {
printf(gettext('Error: %s, Description: %s'), $http_code, $desc);
return;
}
?><!doctype html>
<!--[if IE 8 ]><html lang="en" class="ie ie8 lte9 lte8 no-js"><![endif]-->
......@@ -339,11 +335,6 @@ function display_login_form()
unset($input_errors);
if (isAjax()) {
exit;
}
/* Check against locally configured IP addresses, which will catch when someone
port forwards WebGUI access from WAN to an internal IP on the router. */
// fix, local ip check was previously done using "filter_generate_optcfg_array" which basically includes alomst everything here.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment