------------------------------------------------------------ revno: 1045 committer: Roger Martin <rg1...@gmail.com> branch nick: aikiframework timestamp: Wed 2012-01-25 23:49:24 +0100 message: corrected: mysql always dies when can't select db modified: libs/database/mysql.php
-- lp:aikiframework https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk Your team Aiki Framework Developers is subscribed to branch lp:aikiframework. To unsubscribe from this branch go to https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'libs/database/mysql.php' --- libs/database/mysql.php 2012-01-05 18:48:50 +0000 +++ libs/database/mysql.php 2012-01-25 22:49:24 +0000 @@ -169,7 +169,10 @@ $this->register_error($str.' in '.__FILE__.' on line '.__LINE__); $this->show_errors ? trigger_error($str,E_USER_WARNING) : null; - die("Fatal error: Lost Connection to database. please make sure the information in your config.php are correct"); + // @TODO need revision, perhaps must die never + if ( !defined("AIKI_INSTALLER_APPS") ){ + die("Fatal error: Lost Connection to database. please make sure the information in your config.php are correct"); + } } else {
_______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : aikiframework-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp