CodeSleeve / asset-pipeline

This Laravel 4 package provides a very simple and easy to use asset pipeline. It was heavily inspired by the Rails asset pipeline. We make use of the wonderful Assetic package to help with pre-compliation!
http://www.codesleeve.com
MIT License
489 stars 53 forks source link

Opening PHP Tag #173

Closed saturday closed 10 years ago

saturday commented 10 years ago

For some strange reason, I'm getting opening '<?php' tags at the beginning of the compiled CSS and JS files. I'm having a lot of trouble tracking down the reason for this.

Any ideas?

saturday commented 10 years ago

It turns out this is the result of the app/start/local.php file containing an opening PHP tag, but nothing else.

<?php

The original source from the Laravel repo consists of the following:

<?php 

//

Note the comment. This caused quite a few problems for me with regard to other Laravel functionality as well.