--- DB.php.orig	2009-09-14 06:49:32.000000000 +0100
+++ DB.php	2009-09-14 11:46:08.000000000 +0100
@@ -48,7 +48,7 @@
 	{
 		// Options that are specific to PHPOF2_DB and are not to be passed to MDB2
 		// (MDB2 throws errors if it gets options it doesn't know about)
-		$private_option_list = array('audit_driver', 'audit_driver_options');
+		$private_option_list = array('audit_driver', 'audit_driver_options', 'lob_data_path');
 		$private_options = array();
 		if (is_array($options)) {
 			foreach ($options as $key => $val) {
@@ -81,6 +81,11 @@
 		$mdb2 = parent::connect( $dsn, $options );
 		if (PEAR::isError($mdb2)) {
     		throw new Exception($mdb2->getMessage());
+		}		
+		
+		// Enable lob storge
+		if (isset($private_options['lob_data_path'])) {
+			$mdb2->lob_data_path = $private_options['lob_data_path'];
 		}
 		
 		// Enable audit driver if required
