what is APPPATH in codeigniter

2019-04-08 07:27发布

问题:

Here is an example.

class My_Loader extends CI_Loader {
    parent::__construct();
    include(APPPATH.'config/jscss.php');
}

what is the 'APPPATH' above?

回答1:

APPPATH is your application folder

Copy jscss.php file to /application/config/ folder.

/application
  - /config
     - jscss.php
  - /controllers
  - /cache
  - /core
  - etc..
/system
index.php


回答2:

path to your application folder.



回答3:

Path upto your Application folder



回答4:

PAth on your Application->Your Project