fixing class definition, the constructor was defined as private function

This commit is contained in:
Fernando Ontiveros
2012-07-12 20:36:41 -04:00
parent bb663544b8
commit 4f8ca480b9
3 changed files with 56 additions and 56 deletions

View File

@@ -44,7 +44,7 @@ class PMmemcached {
private static $instance = NULL; private static $instance = NULL;
private function __construct($workspace) { public function __construct($workspace) {
$this->enabled = MEMCACHED_ENABLED; $this->enabled = MEMCACHED_ENABLED;
$this->connected = false; $this->connected = false;
$this->workspace = $workspace; $this->workspace = $workspace;

View File

@@ -102,7 +102,7 @@ class PMPluginRegistry {
* param * param
* @return void * @return void
*/ */
private function __construct() {} public function __construct() {}
/** /**
* This function is instancing to this class * This function is instancing to this class

View File

@@ -55,7 +55,7 @@ class serverConf {
private $lanLanguage; private $lanLanguage;
private function __construct() { public function __construct() {
$this->filePath = PATH_DATA . 'srvConf.singleton'; $this->filePath = PATH_DATA . 'srvConf.singleton';
} }