[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 94450a4dfeff1a8d50ab3860189132493cd4ac26

Franck Villaume nerville at fusionforge.org
Sat Mar 8 19:58:56 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, Branch_5_3 has been updated
       via  94450a4dfeff1a8d50ab3860189132493cd4ac26 (commit)
      from  59a41be736e4f75cb238cab27aa3dc7495184fb3 (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 94450a4dfeff1a8d50ab3860189132493cd4ac26
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sat Mar 8 19:58:21 2014 +0100

    fix compactpreview empty using ssl and browsing in http

diff --git a/src/common/include/pre.php b/src/common/include/pre.php
index 59fbb58..bf13c57 100644
--- a/src/common/include/pre.php
+++ b/src/common/include/pre.php
@@ -99,6 +99,10 @@ if (($ecd = forge_get_config ('extra_config_dirs')) != NULL) {
 	}
 }
 
+if (forge_get_config('use_ssl')) {
+	header('Access-Control-Allow-Origin: http://'.forge_get_config('web_host'));
+}
+
 forge_define_config_item ('installation_environment', 'core', 'production') ;
 $installation_environment = forge_get_config ('installation_environment') ;
 if ($installation_environment == 'development' || $installation_environment == 'integration')

-----------------------------------------------------------------------

Summary of changes:
 src/common/include/pre.php |    4 ++++
 1 file changed, 4 insertions(+)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list