Commit 6307f3c1 authored by metzlerd's avatar metzlerd
Browse files

Fixes to load stylesheets properly from skins.

parent 7b46db87
......@@ -18,7 +18,7 @@ class FrxDocument {
switch ($type) {
case 'all':
case $format:
$css .= Frx::File()->contents($sheet);
$css .= file_get_contents($sheet);
break;
}
}
......
......@@ -33,7 +33,6 @@ class FrxSkin {
*/
public function addCSS($type, $sheet) {
if (Frx::File()->exists($sheet)) {
$this->stylesheets[$type][] = Frx::File()->path($sheet);
}
elseif (file_exists($sheet)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment