PHP code example of symbiote / silverstripe-frontend-authoring
1. Go to this page and download the library: Download symbiote/silverstripe-frontend-authoring library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
symbiote / silverstripe-frontend-authoring example snippets
Controller::has_curr() ? Controller::curr()->getResponse()->addHeader('X-Authoring-Reload', 1) : false;