mirror of
https://github.com/pi-hole/web.git
synced 2026-04-28 12:44:07 +01:00
Merge pull request #1326 from pi-hole/tweak/notAnError
Remove an error log output that was presumably leftover from debugging
This commit is contained in:
@@ -36,9 +36,13 @@ function connectFTL($address, $port=4711)
|
||||
{
|
||||
$config = piholeFTLConfig();
|
||||
// Read port
|
||||
$portfile = file_get_contents($config["PORTFILE"]);
|
||||
if(is_numeric($portfile))
|
||||
$port = intval($portfile);
|
||||
$portfileName = isset($config['PORTFILE']) ? $config['PORTFILE'] : '';
|
||||
if ($portfileName != '')
|
||||
{
|
||||
$portfileContents = file_get_contents($portfileName);
|
||||
if(is_numeric($portfileContents))
|
||||
$port = intval($portfileContents);
|
||||
}
|
||||
}
|
||||
|
||||
// Open Internet socket connection
|
||||
@@ -46,6 +50,7 @@ function connectFTL($address, $port=4711)
|
||||
|
||||
return $socket;
|
||||
}
|
||||
|
||||
function sendRequestFTL($requestin)
|
||||
{
|
||||
global $socket;
|
||||
|
||||
@@ -42,7 +42,6 @@ $theme = $available_themes[$webtheme][2];
|
||||
$checkbox_theme_name = $available_themes[$webtheme][3];
|
||||
$checkbox_theme_variant = $available_themes[$webtheme][4];
|
||||
|
||||
error_log(print_r($available_themes,true));
|
||||
function theme_selection() {
|
||||
global $available_themes, $webtheme;
|
||||
foreach ($available_themes as $key => $value) {
|
||||
|
||||
Reference in New Issue
Block a user