public function updatePaths()
{
if (isset($this->configs['paths'])) {
$paths = Loader::getInstance()->getPaths();
foreach ($this->configs['paths'] as $key => $file) {
$file = str_replace('@PEAR-DIR@', $paths['php_dir'], $file);
$file = str_replace('@DATA-DIR@', $paths['data_dir'], $file);
$this->configs['paths'][$key] = $file;
}
}
return $this;
}