+ public $adapter = null;
+ public $prefix = '\phorkie\Database_Adapter_Null';
+
+ public function __construct()
+ {
+ if ($GLOBALS['phorkie']['cfg']['elasticsearch'] != '') {
+ $this->adapter = 'Elasticsearch';
+ $this->prefix = '\phorkie\Database_Adapter_Elasticsearch';
+ }
+ }