[Fusionforge-commits] FusionForge branch master updated. fb94b7f1995ca9703cf09c2f74d02eeb30a93d33
Julien HEYMAN
jheyman at fusionforge.org
Thu Feb 27 18:55:43 CET 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via fb94b7f1995ca9703cf09c2f74d02eeb30a93d33 (commit)
from 529ecd9292a7d69448b3e02c9759c7148f63b7d1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fb94b7f1995ca9703cf09c2f74d02eeb30a93d33
Author: Julien HEYMAN <julien.heyman at atos.net>
Date: Thu Feb 27 18:52:53 2014 +0100
Fix url_prefix on css and js
diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index 2b5833d..8c897b4 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -182,6 +182,9 @@ class Layout extends Error {
$js .= '?'.date ("U", filemtime($filename));
}
}
+ if (forge_get_config('url_prefix')){
+ $js = forge_get_config('url_prefix').$js;
+ }
$this->javascripts[] = $js;
}
}
@@ -201,6 +204,9 @@ class Layout extends Error {
$css .= '?'.date ("U", filemtime($filename));
}
}
+ if (forge_get_config('url_prefix')){
+ $css = forge_get_config('url_prefix').$css;
+ }
$this->stylesheets[] = array('css' => $css, 'media' => $media);
}
}
-----------------------------------------------------------------------
Summary of changes:
src/www/include/Layout.class.php | 6 ++++++
1 file changed, 6 insertions(+)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list