Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | V4.94 23 Jan 2007 (c) 2000-2007 John Lim (jlim#natsoft.com.my). 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 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.