Skip to content

Instantly share code, notes, and snippets.

@micheleorselli
Forked from fullo/app.yml
Last active October 8, 2018 10:55
Show Gist options
  • Save micheleorselli/6053607 to your computer and use it in GitHub Desktop.
Save micheleorselli/6053607 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’;
}
parameters:
kernel.cache_dir: 'vfs://cache'
google_app_engine.enable_functions = "phpversion, phpinfo, php_sapi_name"
google_appengine/dev_appserver.py --php_executable_path=/usr/bin/php-cgi /var/www/symfony-gae-edition
appcfg.py -R update /var/www/symfony-gae-edition/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment