how to reference file one folder up and down? |
(07-04-2016, 02:47 PM)mrad Wrote: I am trying to reference a file one folder up and then down a few folders: Try this PHP Code: $path = rtrim(__DIR__, '/') . '/';
(07-04-2016, 09:07 PM)pdthinh Wrote:(07-04-2016, 02:47 PM)mrad Wrote: I am trying to reference a file one folder up and then down a few folders: Paths are not easy ![]() If the included path does not work I usually echo getcwd(); and adjust the requested relative path. Once working remove the echo getcwd();
PHP Code: $this->load->view('common/KoolControls/KoolGrid/koolgrid'); |
Welcome Guest, Not a member yet? Register Sign In |