I am moving project from windows to CentOS (linux OS). I have put all the files of public folder in root/public_html and kept all other files in root/app_name.
I changed these 2 lines from index.php file:
From
====
require __DIR__.'/../bootstrap/autoload.php';
$app = require_once __DIR__.'/../bootstrap/app.php';
To
==
require __DIR__.'/../app_name/bootstrap/autoload.php';
$app = require_once __DIR__.'/../app_name/bootstrap/app.php';
I see project home page loading in the browser but everything else is broken.
I cant see css loading or cant visit /login or /register page. on clicking login
It goes to : app_name/
on inspecting Console all the links in home page contains blade engine braces and therefore nothing seems to loads properly. How do I fix this?
I am using CentOS 6.
Project structure
app_folder
-contains all other files and folders of the project
public_html
-contains all the files of public folder
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire