Installing Hellaplus in a folder

By default the Hellaplus script assumes you are installing in a new domain or a sub-domain. If you intend installing the script within a sub-folder you will need to make a simple tweak to the script.

Where possible we recommend using a sub-domain (or a domain) for the application. This ensures that there are no configuration inheritance issues from other scripts in other folders.

By a sub-folder, we mean within the URL, not within the file system of your hosting account.

An example of a sub-folder (which will require additional configuration) is:
https://mydomain.com/myscript

An example of a sub-domain (which does not require any changes) is:
https://myscript.mydomain.com

If you are unable to use a sub-domain, watch the video below or follow the instructions below the video on how to alter the script.

Step 1:

Open routes.php files located inside the src folder and you will see commented out some lines of code that looks like the below

// Router::group(array(
//     'prefix' => '/' . env('URL_PREFIX')
// ), function() {{

and the line below at the end of the file

// });

Step 2:

Uncomment all 4 of the lines above by removing the two forward slash before them. Save your changes.

Step 3:

Open the .env file and change the URL_PREFIX to be the name of the folder where you have installed the script:

URL_PREFIX=myfolder

That’s all!

What's your reaction?
5COOL13WTF0LOVE1LOL