Permalink
Browse files

index_cluster parameters tweak for oracle

  • Loading branch information...
1 parent ce83b9d commit 941effc22ff96d8cb2607740256332d8a3601274 @bdunogier bdunogier committed Mar 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 kernel/clustering/gateway.php
@@ -322,7 +322,8 @@ public static function getGateway()
return new $gatewayClass(
array(
- "host" => CLUSTER_STORAGE_HOST,
+ // some databases don't need a hostname (oracle for instance)
+ "host" => defined( "CLUSTER_STORAGE_HOST" ) ? CLUSTER_STORAGE_HOST : null,
"port" => defined( "CLUSTER_STORAGE_PORT" ) ? CLUSTER_STORAGE_PORT : null,
"user" => CLUSTER_STORAGE_USER,
"password" => CLUSTER_STORAGE_PASS,

0 comments on commit 941effc

Please sign in to comment.