PHP code example of simplygoodwork / craft-pwny
1. Go to this page and download the library: Download simplygoodwork/craft-pwny 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/ */
simplygoodwork / craft-pwny example snippets
use craft\helpers\App;
return [
'enabled' => App::env('PWNY_ENABLED') ? App::env('PWNY_ENABLED') : true,
];