mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-07 16:11:14 +00:00
Change loading order
This commit is contained in:
parent
23c4a809d5
commit
7247ffae72
@ -25,12 +25,12 @@
|
||||
print_r('<link rel="stylesheet" type="text/css" href="/modules/'.$module.'/'.$file.'">'."\xA");
|
||||
}
|
||||
};
|
||||
|
||||
//Get and add HTML Elements
|
||||
print_r(file_get_contents($module.'/elements.html'));
|
||||
|
||||
//Add the modules JS file
|
||||
print_r('<script src="'.$module.'/main.js" type="text/javascript"></script>'."\xA");
|
||||
//Add the modules CSS file
|
||||
print_r('<link rel="stylesheet" type="text/css" href="'.$module.'/style.css">'."\xA");
|
||||
//Get and add HTML Elements
|
||||
print_r(file_get_contents($module.'/elements.html'));
|
||||
}
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user