Welcome Guest, Not a member yet? Register   Sign In
multiple sites, 1 codebase, using symlinks (with smarty)
#5

[eluser]HdotNET[/eluser]
fyi, trying something similar myself... found the logging messages a bit difficult as they all get dumped into the same log file no matter what site you are looking at.

Therefore I took the Log.php library and made a simple edit around line 92:

from
Code:
$filepath = $this->log_path.'log-'.date('Y-m-d').EXT;

to
Code:
$filepath = $this->log_path.$_SERVER['HTTP_HOST'].'-log-'.date('Y-m-d').EXT;

EDIT: typo on log.php.. DOH!


Messages In This Thread
multiple sites, 1 codebase, using symlinks (with smarty) - by El Forum - 08-08-2007, 05:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB