openbsd-ports/www/mantis/patches/patch-core_php
sthen bc7dc620b2 Major update to Mantis 1.2.11, many (including SECURITY) fixes since
the previous version in tree which was rather outdated.  ok jasper@
2012-06-13 00:41:39 +00:00

14 lines
530 B
Plaintext

$OpenBSD: patch-core_php,v 1.3 2012/06/13 00:41:39 sthen Exp $
--- core.php.orig Sat Jun 9 06:29:03 2012
+++ core.php Sat Jun 9 14:08:58 2012
@@ -67,6 +67,9 @@ if ( file_exists( dirname( __FILE__ ).DIRECTORY_SEPARA
$t_config_inc_found = true;
}
+if (isset($g_placeholder) && $g_placeholder == "yes")
+ $t_config_inc_found = false;
+
# Allow an environment variable (defined in an Apache vhost for example)
# to specify a config file to load to override other local settings
$t_local_config = getenv( 'MANTIS_CONFIG' );