Welcome Guest, Not a member yet? Register   Sign In
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....
Reply


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



Theme © iAndrew 2016 - Forum software by © MyBB