Skip to content

Commit

Permalink
fix duplicate base url
Browse files Browse the repository at this point in the history
  • Loading branch information
lephuongbg committed Aug 30, 2013
1 parent 19be1db commit 2cb81e3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/dz.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -455,12 +455,6 @@ public function addStyle($file = '', $isRel = false, $priority = self::DEFAULT_P
$file = '/'.$file;

$file = $this->templateUrl.'/core/utilities/min?f='.$file;
} else {
// Auto remove the first slash in file path
if (strpos($file, '/') === 0)
$file = substr($file, 1);

$file = $this->baseUrl.$file;
}
}

Expand Down

0 comments on commit 2cb81e3

Please sign in to comment.