Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Removed the error control operator from "ocilogon" and "ociplogon" to av... #1143

Closed
wants to merge 1 commit into from

1 participant

@mathop

...oid "white screen" when the OCI8 extension is not enabled.

@mathop mathop Removed the error control operator from "ocilogon" and "ociplogon" to…
… avoid "white screen" when the OCI8 extension is not enabled.
0b1c3d6
@mathop mathop closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 16, 2013
  1. @mathop

    Removed the error control operator from "ocilogon" and "ociplogon" to…

    mathop authored matheus.pedroso committed
    … avoid "white screen" when the OCI8 extension is not enabled.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/libs/model/datasources/dbo/dbo_oracle.php
View
4 cake/libs/model/datasources/dbo/dbo_oracle.php
@@ -173,9 +173,9 @@ function connect() {
$config['charset'] = !empty($config['charset']) ? $config['charset'] : null;
if (!$config['persistent']) {
- $this->connection = @ocilogon($config['login'], $config['password'], $config['database'], $config['charset']);
+ $this->connection = ocilogon($config['login'], $config['password'], $config['database'], $config['charset']);
} else {
- $this->connection = @ociplogon($config['login'], $config['password'], $config['database'], $config['charset']);
+ $this->connection = ociplogon($config['login'], $config['password'], $config['database'], $config['charset']);
}
if ($this->connection) {
Something went wrong with that request. Please try again.