Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1068997
in-portal
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jul 19, 4:50 AM
Size
1 KB
Mime Type
text/x-diff
Expires
Mon, Jul 21, 4:50 AM (20 h, 33 m)
Engine
blob
Format
Raw Data
Handle
691984
Attached To
rINP In-Portal
in-portal
View Options
Index: trunk/admin/install/inst_ado.php
===================================================================
--- trunk/admin/install/inst_ado.php (revision 3900)
+++ trunk/admin/install/inst_ado.php (revision 3901)
@@ -1,23 +1,23 @@
<?php
function &inst_GetADODBConnection()
{
static $DB = null;
global $g_DBType, $g_DBHost, $g_DBUser, $g_DBUserPassword, $g_DBName, $g_DebugMode;
global $ADODB_FETCH_MODE, $ADODB_COUNTRECS, $ADODB_CACHE_DIR, $pathtoroot;
if( !isset($DB) && strlen($g_DBType) > 0 )
{
$DB = ADONewConnection($g_DBType);
- $connected = $DB->PConnect($g_DBHost, $g_DBUser, $g_DBUserPassword, $g_DBName);
+ $connected = $DB->Connect($g_DBHost, $g_DBUser, $g_DBUserPassword, $g_DBName);
$ADODB_CACHE_DIR = $pathtoroot.'cache';
$ADODB_FETCH_MODE = 2;
$ADODB_COUNTRECS = false;
$DB->debug = false;
$DB->cacheSecs = 3600;
}
return $DB;
}
?>
Property changes on: trunk/admin/install/inst_ado.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.4
\ No newline at end of property
+1.5
\ No newline at end of property
Event Timeline
Log In to Comment