variable js mw_path_url dans head.php mtweb.0.13.3
authordj3c1t <dj3c1t@free.fr>
Fri, 9 May 2014 20:49:47 +0000 (22:49 +0200)
committerdj3c1t <dj3c1t@free.fr>
Fri, 9 May 2014 20:49:47 +0000 (22:49 +0200)
mw/app/out/default/views/head.php

index 8a252ca..08aa55b 100644 (file)
@@ -10,6 +10,7 @@
     <![endif]-->
 
     <script type="text/javascript"> mw_site_url = "<?php echo $this->path("web") ?>"; </script>
+    <script type="text/javascript"> mw_path_url = "<?php echo $this->path("web").$this->path("mw_path") ?>"; </script>
     <?php foreach($this->js_files() as $js_file) : ?>
     <script type="text/javascript" src="<?php echo $js_file; ?>"></script>
     <?php endforeach; ?>