GetDirectory base - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: GetDirectory base (/showthread.php?tid=75680) |
GetDirectory base - mateusneresrb - 03-04-2020 I'm going through some problems, I'm using a codeigniter site and decided to create a folder with another site. And I need to get the footer and the header of that first site is that possible ? I was trying, but I couldn't find a way to access the root directory where the first site is. RE: GetDirectory base - includebeer - 03-08-2020 Check out the global constants. Maybe ROOTPATH is what you are looking for: https://codeigniter4.github.io/userguide/general/common_functions.html#global-constants |