public function calcPluginDir($name) { return $this->app['config']['plugin_realdir'] . '/' . $name; }