removal of data_href config variable -- it should be auto detected
git-svn-id: file:///home/shish/svn/shimmie2/trunk@304 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@ -4,7 +4,7 @@ class LoadExtData extends Extension {
|
||||
if(is_a($event, 'PageRequestEvent')) {
|
||||
global $page, $config;
|
||||
|
||||
$data_href = $config->get_string("data_href", './');
|
||||
$data_href = get_base_href();
|
||||
|
||||
foreach(glob("ext/*/style.css") as $css_file) {
|
||||
$page->add_header("<link rel='stylesheet' href='$data_href/$css_file' type='text/css'>");
|
||||
|
Reference in New Issue
Block a user