Just Sharing Knowledge on Robotics, Electronics and Programming

Wednesday, June 13, 2018

[SOLVED] How to move Application Folder to the Basepath (root) in Codeigniter



Codeigniter Application folder is where our job begin, the default structure of codeigniter is

basepath/aplication
basepath/system

now you want to move your application content to the site, you can use the following way

in index.php :

on line 117 change value to empty then

$application_folder = '';

and in line 239 change from

if (is_dir($application_folder))

to 

if ($application_folder=='')

Done.

0 comments:

Post a Comment