Skip to content
Snippets Groups Projects
Unverified Commit 558ec6e5 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Merge pull request #784 from forevermatt/bug/fix-namespaces-in-theming-md

doc: Switch to namespaced SimpleSAML\Module.
parents 3b0413f5 9db97b20
No related branches found
No related tags found
No related merge requests found
......@@ -107,10 +107,10 @@ modules
Reference these resources in your custom PHP templates under `themes/fancytheme` by using a generator for the URL:
```php
<?php echo SimpleSAML_Module::getModuleURL('mymodule/logo.png'); ?>
<?php echo SimpleSAML\Module::getModuleURL('mymodule/logo.png'); ?>
```
Example for a custom CSS stylesheet file:
```html
<link rel="stylesheet" type="text/css" href="<?php echo SimpleSAML_Module::getModuleURL('mymodule/style.css'); ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo SimpleSAML\Module::getModuleURL('mymodule/style.css'); ?>" />
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment