File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 120120if (isset ($ _POST ['remove_hooks ' ]))
121121 remove_hooks ();
122122
123- // try to find the smflogo: could be a .gif or a .png
124- $ smflogo = "Themes/default/images/smflogo.png " ;
125- if (!file_exists (dirname (__FILE__ ) . "/ " . $ smflogo ))
123+ // try to find the smflogo: could be a .gif or a .png or an .svg
124+ if (file_exists (dirname (__FILE__ ) . "/Themes/default/images/smflogo.svg " ))
125+ $ smflogo = "Themes/default/images/smflogo.svg " ;
126+ elseif (file_exists (dirname (__FILE__ ) . "/Themes/default/images/smflogo.png " ))
127+ $ smflogo = "Themes/default/images/smflogo.png " ;
128+ else
126129 $ smflogo = "Themes/default/images/smflogo.gif " ;
127130
128131// Note that we're using the default URLs because we aren't even going to try to use Settings.php's settings.
@@ -314,6 +317,12 @@ function initialize_inputs()
314317 {
315318 if (!defined ('SMF ' ))
316319 define ('SMF ' , 1 );
320+
321+ if (!defined ('POSTGRE_TITLE ' ))
322+ define ('POSTGRE_TITLE ' , 'PostgreSQL ' );
323+
324+ if (!defined ('MYSQL_TITLE ' ))
325+ define ('MYSQL_TITLE ' , 'MySQL ' );
317326
318327 if (empty ($ smcFunc ))
319328 $ smcFunc = array ();
You can’t perform that action at this time.
0 commit comments