Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Commit

Permalink
Merge pull request #128 from GF-TIC/quick-start-doc-fix
Browse files Browse the repository at this point in the history
Fixed syntax error at the Quick start documentation
  • Loading branch information
burzum committed Mar 8, 2016
2 parents 9e08e4a + 1fc40d1 commit 59013a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Tutorials/Quick-Start.md
Expand Up @@ -29,14 +29,14 @@ use Cake\Core\Configure;
use Cake\Event\EventManager;

// Instantiate a storage event listener
$listener = new BaseListener(
$listener = new BaseListener([
'imageProcessing' => true, // Required if you want image processing!
'pathBuilderOptions' => [
// Preserves the original filename in the storage backend.
// Otherwise it would use a UUID as filename by default.
'preserveFilename' => true
]
);
]);
// Attach the BaseListener to the global EventManager
EventManager::instance()->on($listener);

Expand Down

0 comments on commit 59013a5

Please sign in to comment.