File path: dist/twist/Core/Models/Install.model.php
Namespace: Twist\Core\Models
secureAppFolder
— Secure the APP folder by placing .htaccess files in the correct locations. These files will block access to all apart from Resources and Assets.
Name | Description |
---|---|
$dirAppFolder | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$dirAppFolder = '/home/user/public_html/twist';
//Call the function secureAppFolder with the example vars
\Twist\Core\Models\Install::secureAppFolder($dirAppFolder);