Skip to content

Commit

Permalink
Only trigger absolute CSS path lookup if first character is a directo…
Browse files Browse the repository at this point in the history
…ry separator.
  • Loading branch information
kaecyra committed Jun 22, 2015
1 parent 6d0a70e commit 307994f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/dashboard/models/class.assetmodel.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public static function cssPath($Filename, $Folder = '', $ThemeType = '') {
$Paths = array();

// 2. Check for a full path.
if (strpos($Filename, '/') !== false) {
if (strpos($Filename, '/') === 0) {
$Filename = ltrim($Filename, '/');

// Direct path was given
Expand Down

0 comments on commit 307994f

Please sign in to comment.