- add in
app/common.php
if (! defined('CILITEPATH')) { define('CILITEPATH', realpath(APPPATH.'ThirdParty/appkita/cilite') . DIRECTORY_SEPARATOR); }
- add in
app/Config/Routers.php
$cfg = new \appkita\cilite\Config\Cilite(); $autorouter = new \appkita\cilite\Libraries\Autorouter($cfg, $routes); $autorouter->run();
- add alias in
app/Config/Filters
public $aliases = [
...
'adminFilter' => \appkita\cilite\Filters\AdminFilter::class,
'apiFilter' => \appkita\cilite\Filters\ApiFilter::class,
];
- add contant in
app/Config/Constants.php
$protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ? 'https://'.$_SERVER['HTTP_HOST'] : 'http://'.$_SERVER['HTTP_HOST']."".str_replace(basename($_SERVER['SCRIPT_NAME']), "", $_SERVER['SCRIPT_NAME']); defined('BASEURL') || define('BASEURL',$protocol);
- modifi
app/config/App.php
...
public $baseURL = BASEURL;
public $indexPage = '';
...
CodeIgniter is a PHP full-stack web framework that is light, fast, flexible and secure. More information can be found at the official site.
- (Adminator Admin Dashboar)[https://github.com/puikinsh/Adminator-admin-dashboard]
Please follow Contributing Guide before Contributing
CILITE is under MIT License
CILITE is created by APP KITA SOLUTION