|
|
Choosing A Webhost: |
mantisbt/admin check.php,1.28,1.29: msg#00058bug-tracking.mantis.cvs
Update of /cvsroot/mantisbt/mantisbt/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24341 Modified Files: check.php Log Message: Fixed #8291: check.php: Use of undefined constant db_is_connected - assumed 'db_is_connected'. Index: check.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/admin/check.php,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- check.php 23 Jul 2007 21:58:10 -0000 1.28 +++ check.php 22 Aug 2007 04:12:44 -0000 1.29 @@ -13,11 +13,14 @@ error_reporting( E_ALL ); $g_skip_open_db = true; # don't open the database in database_api.php + require_once ( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'core.php' ); - require_once ( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'core/email_api.php' ); $t_core_path = config_get_global( 'core_path' ); + require_once ( $t_core_path . 'email_api.php' ); + require_once ( $t_core_path . 'database_api.php' ); + $f_mail_test = gpc_get_bool( 'mail_test' ); $f_password = gpc_get_string( 'password', null ); @@ -126,7 +129,7 @@ <br /><br /> <?php - require_once( $g_core_path . 'obsolete.php' ); + require_once( $t_core_path . 'obsolete.php' ); ?> <!-- Version Check --> @@ -165,7 +168,7 @@ </tr> <!-- Test DATABASE part 2 --> -<?php if ( db_is_connected ) { +<?php if ( db_is_connected() ) { $t_serverinfo = $g_db->ServerInfo() ?> <tr> ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | mantisbt/core obsolete.php,1.31,1.32, Victor Boctor |
|---|---|
| Next by Date: | mantisbt/core my_view_inc.php,1.17,1.18, Victor Boctor |
| Previous by Thread: | mantisbt/core obsolete.php,1.31,1.32, Victor Boctor |
| Next by Thread: | mantisbt/core my_view_inc.php,1.17,1.18, Victor Boctor |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |