Welcome Guest, Not a member yet? Register   Sign In
load default library
#1

[eluser]cmarra[/eluser]
Hello guys, how do I load a default library and then to access its methods in any page of your site?
#2

[eluser]tomdelonge[/eluser]
Autoloading Resources

Just add the library to the autoload config file. For example, I autoload the session library, so on any page, I can use $this->session
#3

[eluser]cmarra[/eluser]
ok tnx 1000 !!!!




Theme © iAndrew 2016 - Forum software by © MyBB