0

hi i am using wampserver for my project and my project is in folder sss so i must type this Url localhost\sss\public and want to have this

localhost\sss\

to show my index page

Alireza
  • 2,744
  • 2
  • 17
  • 21

1 Answers1

1

Copy the public folder contents outside the public folder and open index.php which you copied outside the folder, than change the:

require __DIR__.'/../bootstrap/autoload.php';

$app = require_once __DIR__.'/../bootstrap/start.php';

to

require __DIR__.'/bootstrap/autoload.php';

$app = require_once __DIR__.'/bootstrap/start.php';

and you can access directly.

bentinata
  • 324
  • 1
  • 4
  • 13
Akmal Arzhang
  • 122
  • 1
  • 9