Skip to content

Instantly share code, notes, and snippets.

@fullo
Last active December 20, 2015 00:19
Show Gist options
  • Save fullo/6040608 to your computer and use it in GitHub Desktop.
Save fullo/6040608 to your computer and use it in GitHub Desktop.
application: symfony-engine-ed
version: 1
runtime: php
api_version: 1
threadsafe: true
handlers:
- url: /favicon\.ico
static_files: web/favicon.ico
upload: web/favicon\.ico
- url: /bundles
static_dir: web/bundles
- url: /app_dev\.php.*
script: web/app_dev.php
- url: .*
script: web/app.php
namespace {
$loader = require_once __DIR__.'/autoload.php';
org\bovigo\vfs\vfsStreamWrapper::register();
}
monolog:
handlers:
main:
type: syslog
level: debug
public function getCacheDir()
{
return ‘vfs://cache/’.$this->environment;
}
public function getLogDir()
{
return ‘vfs://cache/logs’;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment