mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
(legacy) remove isAjax
This commit is contained in:
parent
33394bdc8a
commit
8cccf2e838
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user