fix allowing inclusion of functions.php multiple time
The current usage of function_exists does not allow for multiple inclusion of functions.php, see http://php.net/manual/de/function.function-exists.php#110163
The diff is a bit messy, i simply negated the if-call, put all functions into the if block and corrected the indentation.
@tgloeggl please resubmit this to the 2.0 branch of assetic-php/assetic. @jaxwilko if @tgloeggl doesn't want to, could you implement this?
@tgloeggl please resubmit this to the 2.0 branch of assetic-php/assetic. @JaxWilko if @tgloeggl doesn't want to, could you implement this?
I would gladly but that does not seem to be necessary in that mentioned branch as all functions are separately gated (instead of my lazy variant of that) and multiple inclusions of functions.php should not result in an error anymore.