/** * Returns path to app's configuration file with specified name. * * @see waSystemConfig::getConfigPath() * @param string $name Name of the configuration file whose path must be returned * @param bool $user_config Whether path to a file located in wa-config/apps/[app_id]/ directory must be returned, * which is used for storing custom user configuration. If false is specified, method returns path to a file * located in wa-apps/[app_id]/lib/config/. * @param string $app Optional app id, defaults to current app's id * @return string */ public function getConfigPath($name, $user_config = true, $app = null) { if ($app === null) { $app = $this->application; } return parent::getConfigPath($name, $user_config, $app); }