mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Add use statement to example
Add the relevant 'use' statement to the sample code to remind people that it's needed!
This commit is contained in:
parent
1a634f5ba6
commit
4b90bb264a
@ -24,6 +24,8 @@ To access variables in the PHP:
|
||||
|
||||
|
||||
```php
|
||||
use Silverstripe\SiteConfig\SiteConfig;
|
||||
|
||||
$config = SiteConfig::current_site_config();
|
||||
|
||||
echo $config->Title;
|
||||
|
Loading…
Reference in New Issue
Block a user