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.

Revisions

  1. fullo revised this gist Jul 19, 2013. 2 changed files with 7 additions and 7 deletions.
    10 changes: 5 additions & 5 deletions app.yml
    Original file line number Diff line number Diff line change
    @@ -7,14 +7,14 @@ threadsafe: true
    handlers:

    - url: /favicon\.ico
    static_files: web/favicon.ico
    upload: web/favicon\.ico
    static_files: web/favicon.ico
    upload: web/favicon\.ico

    - url: /bundles
    static_dir: web/bundles
    static_dir: web/bundles

    - url: /app_dev\.php.*
    script: web/app_dev.php
    script: web/app_dev.php

    - url: .*
    script: web/app.php
    script: web/app.php
    4 changes: 2 additions & 2 deletions config_prod.yml
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    monolog:
    handlers:
    main:
    type: syslog
    level: debug
    type: syslog
    level: debug
  2. fullo revised this gist Jul 19, 2013. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions config_prod.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    monolog:
    handlers:
    main:
    type: syslog
    level: debug
  3. fullo revised this gist Jul 19, 2013. 1 changed file with 20 additions and 0 deletions.
    20 changes: 20 additions & 0 deletions app.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    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
  4. fullo revised this gist Jul 19, 2013. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions kernel.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    public function getCacheDir()
    {
    returnvfs://cache/’.$this->environment;
    }

    public function getLogDir()
    {
    returnvfs://cache/logs’;
    }
  5. fullo renamed this gist Jul 19, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  6. fullo created this gist Jul 19, 2013.
    7 changes: 7 additions & 0 deletions gistfile1.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    namespace {

    $loader = require_once __DIR__.'/autoload.php';

    org\bovigo\vfs\vfsStreamWrapper::register();

    }