Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 26c123b7baf64abfe45fc7662d698caa > files > 4

mantis-1.2.15-3.fc18.src.rpm

diff --git a/scripts/checkin.php b/scripts/checkin.php
index 054d48a..bca3b99 100644
--- a/scripts/checkin.php
+++ b/scripts/checkin.php
@@ -17,6 +17,8 @@
 # along with MantisBT.  If not, see <http://www.gnu.org/licenses/>.
 # See the README and LICENSE files for details
 
+putenv('MANTIS_CONFIG=/etc/mantis/config_inc.php');
+
 global $g_bypass_headers;
 $g_bypass_headers = 1;
 require_once( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'core.php' );
diff --git a/scripts/send_emails.php b/scripts/send_emails.php
index b6dce6e..7b9eae6 100644
--- a/scripts/send_emails.php
+++ b/scripts/send_emails.php
@@ -17,6 +17,8 @@
 # along with MantisBT.  If not, see <http://www.gnu.org/licenses/>.
 # See the README and LICENSE files for details
 
+putenv('MANTIS_CONFIG=/etc/mantis/config_inc.php');
+
 global $g_bypass_headers;
 $g_bypass_headers = 1;