Changeset 116


Ignore:
Timestamp:
May 15, 2006 8:31:44 PM (18 years ago)
Author:
scdev
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/MCVE.inc.php

    r42 r116  
    2424        // Ensure PHP was compiled with the MCVE functions.
    2525        if (!extension_loaded('mcve')) {
    26             trigger_error('MCVE class instantiation failed: MCVE extension not available.', E_USER_WARNING);
    27             die;
     26            trigger_error('MCVE class instantiation failed: MCVE extension not available.', E_USER_ERROR);
    2827        }
    2928        if ('' == $username || '' == $password) {
     
    6867        default :
    6968            App::logMsg('Connection method not defined.', LOG_ERR, __FILE__, __LINE__);
     69            return false;
    7070        }
    7171
     
    9393
    9494        $this->connected = true;
     95        return true;
    9596    }
    9697
Note: See TracChangeset for help on using the changeset viewer.