Tutorialsplane

Codeigniter get project base path


Codeigniter get project base path– You can use FCPATH or BASEPATH to get the project base path.


Codeigniter get project base path | Base Directory | Document Root Example

The constants FCPATH or BASEPATH will give you the directory base path where your project is setup.

Codeigniter get project base path Example:

$projectPath = FCPATH;