Skip to content

Instantly share code, notes, and snippets.

@armetiz
Created February 17, 2012 15:54
Show Gist options
  • Save armetiz/1854125 to your computer and use it in GitHub Desktop.
Save armetiz/1854125 to your computer and use it in GitHub Desktop.
Override of logs_dir
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