mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
src: style tweaks
This commit is contained in:
parent
6b61295721
commit
fdcd17cd57
@ -352,7 +352,7 @@ function display_login_form($Login_Error)
|
||||
$themename = htmlspecialchars(get_current_theme());
|
||||
$product = product::getInstance();
|
||||
|
||||
setcookie("cookie_test", bin2hex(random_bytes(16)), time() + 3600, '/', '', $config['system']['webgui']['protocol'] == "https", true);
|
||||
setcookie("cookie_test", bin2hex(random_bytes(16)), time() + 3600, '/', '', $config['system']['webgui']['protocol'] == 'https', true);
|
||||
$have_cookies = isset($_COOKIE["cookie_test"]);
|
||||
?><!doctype html>
|
||||
<html lang="en" class="no-js">
|
||||
|
||||
@ -3548,7 +3548,7 @@ function guess_interface_from_ip($ipaddress)
|
||||
return $best_if;
|
||||
}
|
||||
|
||||
$ret = shell_safe("/sbin/route -n get %s | /usr/bin/awk '/interface/ { print \$2; };'", $ipaddress);
|
||||
$ret = shell_safe('/sbin/route -n get %s | /usr/bin/awk \'/interface/ { print $2; };\'', $ipaddress);
|
||||
if (empty($ret)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user