We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1、application/Config/Constants.php: define('APP_NAMESPACE', 'MyApp'); 2、application/Config/Router.php: $routes->setDefaultNamespace('MyApp\Controllers'); 3、application/Controller/Home.php: `<?php namespace MyApp\Controllers;
define('APP_NAMESPACE', 'MyApp');
$routes->setDefaultNamespace('MyApp\Controllers');
class Home extends \CodeIgniter\Controller { public function index() { return view('welcome_message'); } } `
go http://localhost/public/index.php
Error:
ErrorException #1 Uncaught Error: Class 'App\Filters\DebugToolbar' not found i
The text was updated successfully, but these errors were encountered:
9703fd8
lonnieezell
No branches or pull requests
1、application/Config/Constants.php:
define('APP_NAMESPACE', 'MyApp');
2、application/Config/Router.php:
$routes->setDefaultNamespace('MyApp\Controllers');
3、application/Controller/Home.php:
`<?php namespace MyApp\Controllers;
class Home extends \CodeIgniter\Controller
{
public function index()
{
return view('welcome_message');
}
}
`
go http://localhost/public/index.php
Error:
ErrorException #1
Uncaught Error: Class 'App\Filters\DebugToolbar' not found i
The text was updated successfully, but these errors were encountered: