lundi 6 juin 2016

Class 'App/Application' not found in bootstrap/app.php

i have placed all the root files of my project in a folder theme and wrote a file called application.php inside app folder the code of the file

namespace App;

use Illuminate\Foundation\Application as IlluminateApplication;

class Application extends IlluminateApplication

{

  public function publicPath()

  {
    return $this->basePath .'theme/';
  }

}

and then i changed the bootstrap/app.php

$app = new App\Application(

  realpath(__DIR__.'/../')

);

now when i trying to run the program it says this eror. What should i do! i'm new to laravel issue #2



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire