Managing your applications |
Hello,
Here's the way I followed when coding multiple applications in codeigniter 4: I installed with composer. After, i create a new directory, the directory name is "backend" and i paste files like : /backend /app /public /tests /writable I changed paths like that in php scripts: in app/Config/Paths.php the line numbers 23 and 38; 23 - public $systemDirectory = __DIR__ . '/../../../vendor/codeigniter4/framework/system'; 38 - public $appDirectory = __DIR__ . '/..'; in public/index.php line number is 16 ; 16 - $pathsPath = realpath(FCPATH . '../app/Config/Paths.php'); But not working for me. I get this error "404 - File Not Found Controller or its method is not found: \App\Controllers\Backend::index chould you help ? ". Chould you help me pls. Best Regard and I'm sorry for my English. |
Welcome Guest, Not a member yet? Register Sign In |