/* Don't want to use convert_uudecode() here as there may be multiple
* files residing in the text. */
- require_once 'Mail/mimeDecode.php';
$files = &Mail_mimeDecode::uudecode($text);
if (empty($files)) {
return null;
static public function getInstance($driver, $params = array())
{
$driver = basename($driver);
- require_once dirname(__FILE__) . '/Quota/' . $driver . '.php';
$class = 'IMP_Quota_' . $driver;
if (class_exists($class)) {
protected function _connect()
{
if (!$this->_connected) {
- require_once 'DB.php';
$this->_db = &DB::connect($this->_params,
array('persistent' => !empty($this->_params['persistent']),
'ssl' => !empty($this->_params['ssl'])));
}
/* Connect to the SQL server using the supplied parameters. */
- require_once 'DB.php';
$this->_db = DB::connect($this->_params,
array('persistent' => !empty($this->_params['persistent']),
'ssl' => !empty($this->_params['ssl'])));