mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-27 01:24:16 +00:00
Take care of pathes
This commit is contained in:
@@ -27,9 +27,13 @@ class Map extends CI_Controller {
|
||||
|
||||
// Generic fonction for return Json for MAP //
|
||||
public function glob_plot() {
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/globe.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/globe.js")),
|
||||
];
|
||||
$this->load->view('interface_assets/header');
|
||||
$this->load->view('globe/index');
|
||||
$this->load->view('interface_assets/footer');
|
||||
$this->load->view('interface_assets/footer',$footerData);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
<script src="/assets/js/sections/globe.js"></script>
|
||||
<script src="/assets/js/globe/globe.gl.js"></script>
|
||||
<div id="globeViz"></div>
|
||||
|
||||
Reference in New Issue
Block a user