public function __construct($file, $dirApp = NULL) { $path = App::getPathApp(); if ($dirApp) { $path = '' . App::getPathRoot() . Ds::getFilterSeparator($dirApp) . DIRECTORY_SEPARATOR . ''; } self::$_file = new FileVo(); self::$_file->setPath($path . 'Config'); self::$_file->setName($file); }