Skip to content

Commit

Permalink
allow functions.php to be included many times
Browse files Browse the repository at this point in the history
apparently laravel workbench requires this
fixes #636
see #649
  • Loading branch information
kriswallsmith committed Sep 27, 2014
1 parent 3a6c71b commit b47bd60
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
use Assetic\Factory\AssetFactory;
use Assetic\Util\TraversableString;

if (function_exists('assetic_init')) {
return;
}

/**
* Initializes the global Assetic object.
*
Expand Down

0 comments on commit b47bd60

Please sign in to comment.