Created
February 17, 2012 15:54
-
-
Save armetiz/1854125 to your computer and use it in GitHub Desktop.
Override of logs_dir
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AppKernel extends Kernel { | |
public function getLogDir () { | |
if (array_key_exists("logs_dir", $_SERVER)) { | |
return $_SERVER["logs_dir"]; | |
} | |
return parent::getLogDir (); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment