| 98 |
class mosComponentManager { |
class mosComponentManager { |
| 99 |
var $plugin_name = ''; |
var $plugin_name = ''; |
| 100 |
var $magic_quotes_value = 0; |
var $magic_quotes_value = 0; |
| 101 |
|
var $magic_quotes_restore = ''; |
| 102 |
var $plugin_version = ''; |
var $plugin_version = ''; |
| 103 |
var $option = ''; |
var $option = ''; |
| 104 |
|
|
| 107 |
$this->plugin_name = strtolower(str_replace(' ', '', $component_name)); |
$this->plugin_name = strtolower(str_replace(' ', '', $component_name)); |
| 108 |
$this->plugin_version = $version; |
$this->plugin_version = $version; |
| 109 |
$this->option = mamboCore::get('option'); |
$this->option = mamboCore::get('option'); |
| 110 |
|
$this->magic_quotes_restore = get_magic_quotes_runtime(); |
| 111 |
$this->noMagicQuotes(); |
$this->noMagicQuotes(); |
| 112 |
$cname = 'com_'.$this->plugin_name; |
$cname = 'com_'.$this->plugin_name; |
| 113 |
$mosConfig_absolute_path = mamboCore::get('mosConfig_absolute_path'); |
$mosConfig_absolute_path = mamboCore::get('mosConfig_absolute_path'); |
| 137 |
} |
} |
| 138 |
|
|
| 139 |
function restore_magic_quotes () { |
function restore_magic_quotes () { |
| 140 |
set_magic_quotes_runtime($this->magic_quotes_value); |
set_magic_quotes_runtime($this->magic_quotes_restore); |
| 141 |
} |
} |
| 142 |
|
|
| 143 |
function checkCallable (&$object, $method) { |
function checkCallable (&$object, $method) { |