Welcome Guest, Not a member yet? Register   Sign In
Views full path on Linux
#1

Hi,

When i run the Codeigniter application on windows using Wamp or Xampp, The views can be loaded without writing the full path like

'login' => 'Auth\login',
'register' => 'Auth\register',


where Auth is a sub folder inside Views folder.

But on Linux or shared hosting, this doesn't work. I have to write full path to the views in whole application, i mean everywhere in controllers, views, config files, etc. Like:

'login' => 'App\Views\Auth\login',
'register' => 'App\Views\Auth\register',


is there any workaround/fix to this problem ?
Reply


Messages In This Thread
Views full path on Linux - by eafarooqi - 03-20-2020, 05:00 AM
RE: Views full path on Linux - by eafarooqi - 03-20-2020, 05:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB