config; } /** * The basepath of this app * * @return string */ public function getBasePath() { return $this->basePath; } /** * Register a stylesheet file path to be included in the tag of every page. * Inclusion is done in App->initHead(). * The path can be absolute or relative to the Friendica installation base folder. * * @see initHead() * * @param string $path * @throws InternalServerErrorException */ public function registerStylesheet($path) { $url = str_replace($this->basePath . DIRECTORY_SEPARATOR, '', $path); $this->stylesheets[] = trim($url, '/'); } /** * Register a javascript file path to be included in the