File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
config/branding/overrides Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.0.0-RC2
2
+ * [ BugFix] Fixed Unity Branding where Array were not being merged
3
+
1
4
## 1.0.0-RC1
2
5
* [ Feature] Admins can now access the web portal as a separate user
3
6
* [ Feature] Added account details to account settings page
Original file line number Diff line number Diff line change 1
1
[site]
2
2
url = " https://unity.uri.edu/"
3
- docs_url = " https://docs.unity.uri.edu/"
4
3
5
4
[colors]
6
5
light_background = " #ffffff"
@@ -16,9 +15,10 @@ accent_2 = "#002b56"
16
15
accent_disabled = " #80bbff"
17
16
accent_foreground = " #ffffff"
18
17
19
- [support]
20
- email = " hpc@etal.uri.edu"
21
-
22
18
[mail]
23
19
support = " hpc@etal.uri.edu"
24
- sender = " updates@unity.uri.edu"
20
+ sender = " updates@unity.uri.edu"
21
+
22
+ [menuitems] ; menu items, add a label and link for each
23
+ labels[] = " Documentation"
24
+ links[] = " https://docs.unity.uri.edu/"
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ public static function getBranding($branding_loc)
11
11
12
12
$ branding_override = $ branding_loc . "/overrides/ " . $ _SERVER ['HTTP_HOST ' ] . ".ini " ;
13
13
if (file_exists ($ branding_override )) {
14
- $ override_config = parse_ini_file ($ branding_override );
15
- $ BRANDING = array_merge ($ BRANDING , $ override_config );
14
+ $ override_config = parse_ini_file ($ branding_override, true );
15
+ $ BRANDING = array_replace_recursive ($ BRANDING , $ override_config );
16
16
}
17
17
18
18
return $ BRANDING ;
You can’t perform that action at this time.
0 commit comments