]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - lib/WikiDB/adodb/drivers/adodb-proxy.inc.php
Upgrade adodb
[SourceForge/phpwiki.git] / lib / WikiDB / adodb / drivers / adodb-proxy.inc.php
1 <?php
2 /*
3 V5.18 3 Sep 2012  (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
4   Released under both BSD license and Lesser GPL library license. 
5   Whenever there is any discrepancy between the two licenses, 
6   the BSD license will take precedence.
7   Set tabs to 4.
8   
9   Synonym for csv driver.
10 */ 
11
12 // security - hide paths
13 if (!defined('ADODB_DIR')) die();
14
15 if (! defined("_ADODB_PROXY_LAYER")) {
16          define("_ADODB_PROXY_LAYER", 1 );
17          include(ADODB_DIR."/drivers/adodb-csv.inc.php");
18          
19         class ADODB_proxy extends ADODB_csv {
20                 var $databaseType = 'proxy';
21                 var $databaseProvider = 'csv';
22         }
23         class ADORecordset_proxy extends ADORecordset_csv {
24         var $databaseType = "proxy";            
25         
26                 function ADORecordset_proxy($id,$mode=false) 
27                 {
28                         $this->ADORecordset($id,$mode);
29                 }
30         };
31 } // define
32         
33 ?>