Commit acb9e5b4 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Removed some old commented out stuff

parent 293434bb
...@@ -128,11 +128,8 @@ if (!isset($CFG->wwwroot) && isset($_SERVER['HTTP_HOST'])) { ...@@ -128,11 +128,8 @@ if (!isset($CFG->wwwroot) && isset($_SERVER['HTTP_HOST'])) {
set_config('wwwroot', $wwwroot); set_config('wwwroot', $wwwroot);
} }
catch (Exception $e) { catch (Exception $e) {
// Just set it directly. The system will most likely not be installed, so we don't care
$CFG->wwwroot = $wwwroot; $CFG->wwwroot = $wwwroot;
// Do nothing. The system will most likely not be installed, so we don't care
//if (!defined('INSTALLER')) {
// throw $e;
//}
} }
} }
if (!isset($CFG->noreplyaddress) && isset($_SERVER['HTTP_HOST'])) { if (!isset($CFG->noreplyaddress) && isset($_SERVER['HTTP_HOST'])) {
......
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