Welcome Guest, Not a member yet? Register   Sign In
Is there a standard way to get the application/controllers path?
#5

[eluser]xwero[/eluser]
That's better Smile But i think there will be a collision if you load the controller where you call the library method in because all the classes are loaded in the global namespace. If you run the library in an independent script you shouldn't have any trouble.

More visual explanation
Code:
class a {}

class a {}
Results in an error : class a can not be redeclared.


Messages In This Thread
Is there a standard way to get the application/controllers path? - by El Forum - 07-02-2008, 07:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB