diff --git a/src/DatalayerTrait.php b/src/DatalayerTrait.php index 887041e..3546684 100755 --- a/src/DatalayerTrait.php +++ b/src/DatalayerTrait.php @@ -32,7 +32,7 @@ trait DatalayerTrait */ private function getInstance() { - if (strpos($_SERVER['SERVER_NAME'],"homologacao") && !strpos($this->database,"homologacao") ) + if (strpos($_SERVER['SERVER_NAME'],"homologacao") && !strpos($this->database,"Homologacao") ) $this->database .= "Homologacao"; if (!isset($this->instance)) {