$this->Oracle = new COM( "OracleInProcServer.XOraSession" ); $this->Cn = $this->Oracle->OpenDatabase($Server, "$User/$Password", 0); if ( $GLOBALS['conf_db_connect_action'] != '' ) { $this->Cn->ExecuteSQL( $GLOBALS['conf_db_connect_action'] ); }