PHP code example of junohamburg / kirby-reload-on-save
1. Go to this page and download the library: Download junohamburg/kirby-reload-on-save 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/ */
junohamburg / kirby-reload-on-save example snippets
return [
'ready' => function ($kirby) {
return [
'junohamburg.reload-on-save' => [
'active' => $kirby->user() !== null
]
];
}
];