igaster / laravel-theme

Theme support for Laravel
MIT License
520 stars 113 forks source link

Allow views folder to be relative to base_path() if it starts with a / #30

Closed hailwood closed 8 years ago

hailwood commented 8 years ago

Small buff - if the themes viewsPath starts with a DIRECTORY_SERPARATOR (aka /) then the views path becomes relative to the applications configured base path.

Similar to issue #23 except this allows you to override the package wide theme_path for the single theme if so required (useful if say you have themes that are pulled in from composer).

igaster commented 8 years ago

commited!

v1.1.2