fixing class definition, the constructor was defined as private function
This commit is contained in:
@@ -44,7 +44,7 @@ class PMmemcached {
|
||||
|
||||
private static $instance = NULL;
|
||||
|
||||
private function __construct($workspace) {
|
||||
public function __construct($workspace) {
|
||||
$this->enabled = MEMCACHED_ENABLED;
|
||||
$this->connected = false;
|
||||
$this->workspace = $workspace;
|
||||
|
||||
@@ -102,7 +102,7 @@ class PMPluginRegistry {
|
||||
* param
|
||||
* @return void
|
||||
*/
|
||||
private function __construct() {}
|
||||
public function __construct() {}
|
||||
|
||||
/**
|
||||
* This function is instancing to this class
|
||||
|
||||
@@ -55,7 +55,7 @@ class serverConf {
|
||||
private $lanLanguage;
|
||||
|
||||
|
||||
private function __construct() {
|
||||
public function __construct() {
|
||||
$this->filePath = PATH_DATA . 'srvConf.singleton';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user