![]() |
Confusing About DIRECTORY_SEPARATOR - 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: Confusing About DIRECTORY_SEPARATOR (/showthread.php?tid=73761) |
Confusing About DIRECTORY_SEPARATOR - mcsaygili - 06-01-2019 Hi, I'm confusing about DIRECTORY_SEPARATOR. I encountered some errors in folder structure during theme usage. Here is my folder structure. Code: ├───app When i try to reach my headerView.php codeigniter shows error "Invalid file: Site\Views\theme\jango\common\headerView.php After some research i found some code blocks under FileLocator (system/Autoloader/FileLocator.php) PHP Code: protected function getNamespaces(string $prefix = null) { when i change Code: ? rtrim($path[0], DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR my problem solves. But it's core file. Do i have to change ? I'm using Windows 10 and Lastest version of WAMP (3.1.9), PHP 7.3.5 Best Wishes ![]() |