openbsd-ports/www/mantis/patches/patch-core_php

14 lines
532 B
Plaintext
Raw Normal View History

$OpenBSD: patch-core_php,v 1.1.1.1 2006/10/11 18:28:27 mbalmer Exp $
--- core.php.orig Tue Jul 26 00:55:49 2005
+++ core.php Sun Oct 8 15:45:05 2006
@@ -48,6 +48,9 @@
if ( file_exists( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'config_inc.php' ) ) {
require_once( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'config_inc.php' );
$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)