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

[eluser]ckissi[/eluser]
I looked more in code and "echoed" some things from module_find function...

Is file ? application/modules/welcome/views/myview.php

Is file ? application/modules/welcome/views/Myview.php

Is file ? application/views/myview.php

Found

application/views/myview.php

This is what makes things a bit slower... two checks for same file (one first char upper case the lowercase).

Also as you can see in my example I need to share some views for various modules so I want to put them in application/views/ directory (to be good organized), but if I cannot specify the exact path when I load this view it tries to find 3 files and makes 3 x is_file(....)

Any advice ?


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



Theme © iAndrew 2016 - Forum software by © MyBB