diff options
author | Urban Müller | 2018-08-02 18:06:33 +0200 |
---|---|---|
committer | Urban Müller | 2018-08-02 18:06:33 +0200 |
commit | c3c5aa1ab4bf8f084fe734deba33c902b40d65f2 (patch) | |
tree | 9852438ad8bbf27bb3346ecfd91bad6788c251ba | |
parent | 2aa354bf452100bdd84e0a370865a335e7e4c6df (diff) | |
download | itools-c3c5aa1ab4bf8f084fe734deba33c902b40d65f2.tar.gz itools-c3c5aa1ab4bf8f084fe734deba33c902b40d65f2.tar.bz2 itools-c3c5aa1ab4bf8f084fe734deba33c902b40d65f2.zip |
clean up part of the nastiness
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ static function log($name /* ... */) */ static function log_line($name, $line) { - $log = $GLOBALS['ULTRAHOME'] == "/opt/ultra/bin" ? "../log" : ($GLOBALS['ULTRASITE'] == "server" ? "logs" : "log"); + $log = $GLOBALS['ULTRAHOME'] == "/opt/ultra/bin" ? "../log" : "log"; $basefn = substr($name, 0, 1) == "/" ? $name : $GLOBALS['ULTRAHOME'] . "/$log/$name"; $fullfn = $basefn . "-" . date('Ymd'); |