-1

I want to upload a project based on Laravel and Vue. My problem is that when I upload the project, I need to have two public folders for the project to run.

I uploaded the public files into public_html and the project into public_html/core, I set the index.php file for public_html

require __DIR__.'/core/vendor/autoload.php';
$app = require_once __DIR__.'/core/bootstrap/app.php';

However, I must have public in the core folder, otherwise the project will get an error and the files I upload to the site will be placed in core/public instead of public_html, which will not allow me to access from the front side.

What should I do?

OMi Shah
  • 5,768
  • 3
  • 25
  • 34

0 Answers0