Welcome Guest, Not a member yet? Register   Sign In
HMVC - How to prevent scan directories for resource files ?
#1

[eluser]ckissi[/eluser]
Hello,

Is there a way to load resource file without scanning directories ? I mean I need to exactly specify path for resource,

e.g. If I try to load : $this->load->view('myview') from controller
HMVC scans for several files in several locations:

application/modules/welcome/views/myview.php

application/modules/welcome/views/Myview.php

application/views/Myview.php

This is Ok for small applications but not if you write code for web with 120.000 uniques/day.

I checked modules_find function in modules_helper.php and seems that it's impossible without changing the code.

Is there a way to overcome this ?

Thank you...


Messages In This Thread
HMVC - How to prevent scan directories for resource files ? - by El Forum - 07-18-2008, 09:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB