For example: simplesaml/
The path will always end with a '/' and never have a leading slash.
public getBaseURL ( ) : string | ||
return | string | The absolute path relative to the root of the website. |
/** * Constructor * * @param SimpleSAML_Configuration $configuration Configuration object * @param string $template Which template file to load * @param string|null $defaultDictionary The default dictionary where tags will come from. */ public function __construct(SimpleSAML_Configuration $configuration, $template, $defaultDictionary = null) { $this->configuration = $configuration; $this->template = $template; $this->data['baseurlpath'] = $this->configuration->getBaseURL(); $this->translator = new SimpleSAML\Locale\Translate($configuration, $defaultDictionary); }