• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
View string needs escape if back slash on end

#6
(06-29-2019, 08:55 AM)InsiteFX Wrote: I ended up solving it this way and it works fine.

PHP Code:
echo view('Insitefx\Admin\Views'.DIRECTORY_SEPARATOR.$slug); 

I think that will only work on Windows servers, no? Directory separator on *nix boxes is a forward slash....
Support Development  • Practical CodeIgniter 3  •
Myth:AuthVulcan - CLI Tools for CI4
Reply


Messages In This Thread
RE: View string needs escape if back slash on end - by kilishan - 06-30-2019, 09:00 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.