i'vd created project-name
folder inside public_html
and placed public's content into it and another folder inside project-name
which i named it logic
and put all laravel's project file into it except public folder
And
i've modifyed index.php
like this
require __DIR__.'/../bootstrap/autoload.php';
to
require __DIR__.'/logic/bootstrap/autoload.php';
also
$app = require_once __DIR__.'/../bootstrap/app.php';
to
$app = require_once __DIR__.'/logic/bootstrap/app.php';
But, when i wanna access to http://ift.tt/2sqyXF5
i got 403 error
folder structure look like this
public_html
>other_folders
>project-name
|logic
|app
|bootstrap
|database
|and other project's file&folder
|index.php
|.htaccess
|etc
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2t9VHXg
via IFTTT
Aucun commentaire:
Enregistrer un commentaire