projects
/
mtweb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af318ad
)
variable js mw_path_url dans head.php
mtweb.0.13.3
author
dj3c1t
<dj3c1t@free.fr>
Fri, 9 May 2014 20:49:47 +0000
(22:49 +0200)
committer
dj3c1t
<dj3c1t@free.fr>
Fri, 9 May 2014 20:49:47 +0000
(22:49 +0200)
mw/app/out/default/views/head.php
patch
|
blob
|
history
diff --git
a/mw/app/out/default/views/head.php
b/mw/app/out/default/views/head.php
index
8a252ca
..
08aa55b
100644
(file)
--- a/
mw/app/out/default/views/head.php
+++ b/
mw/app/out/default/views/head.php
@@
-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; ?>