
Originally Posted by
BetaJedi
Try removing this line?
Code:
RewriteRule ^home/([a-zA-Z0-9_-]+)(|/)$ index.php?url=home&user=$1
Or, it could also be that the .php file for your user home is using a "..\style.css" link to access the CSS or something similar, and due to the URL rewriter, it is trying to access "/
home/style.css" rather than the real location.
Try manipulating the link to a hard location, such as
Code:
link rel="http://hotelname.link/path/style.css"
config.php
Code:
$config = (object) array(
'hotel' => (object) array(
'url' => 'http://localhost/'
)
);
class.css.phpworking, but with /home/
Code:
foreach (glob($template->url."app/tpl/skins/".$config->template."/src/css/*.css") as $filename) { $this->css = '<link rel="stylesheet" href="'.$filename.'">';
$this->setCSS();
}
not working (not even adding link to source)
Code:
foreach (glob($config->hotel->url."app/tpl/skins/".$config->template."/src/css/*.css") as $filename) { $this->css = '<link rel="stylesheet" href="'.$filename.'">';
$this->setCSS();
}
EDIT:
Found out that <base href="'.$config->hotel->url.'"> inside head works fine.