Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support MantisHub logo and override via logo.png for customization
- Use MantisHub logo as the default branding at the top of the pages. - mantishub_config_inc.php is distributed with MantisHub code and overrides configs after config_inc.php. Conflicts: core.php library/disposable
- Loading branch information
Showing
4 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,3 +44,5 @@ web.config | |
#libraries | ||
library/jpgraph | ||
library/FirePHPCore | ||
|
||
images/logo.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
# If the instance has a logo.png file specific to the instant, then use it to override MantisHub logo | ||
$t_instance_logo = dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR . 'logo.png'; | ||
|
||
if ( file_exists( $t_instance_logo ) ) { | ||
$g_logo_image = 'images/logo.png'; | ||
} else { | ||
$g_logo_image = 'images/mantishub_logo.png'; | ||
} |