Welcome Guest, Not a member yet? Register   Sign In
Site library
#2

[eluser]xwero[/eluser]
When a library is loaded the method checks if a configuration file is present and loads it so you don't have to add it to the constructor manually.

For the paths i think you are better off creating an automatic base_url setting and add the directories to that base_url.

The main reason why i wouldn't use the library is because it's restrictive. For instance what if there are multiple email addresses i want to display? What if i want to display the copyright differently or even in other languages?

I can see how having a site data object makes sense but i think your contribution is too much focused on your needs.


Messages In This Thread
Site library - by El Forum - 04-24-2008, 05:09 PM
Site library - by El Forum - 04-25-2008, 12:44 AM
Site library - by El Forum - 04-25-2008, 02:02 AM
Site library - by El Forum - 04-25-2008, 02:10 AM
Site library - by El Forum - 04-25-2008, 02:35 AM
Site library - by El Forum - 04-25-2008, 03:44 PM
Site library - by El Forum - 04-25-2008, 04:47 PM
Site library - by El Forum - 04-26-2008, 12:40 AM
Site library - by El Forum - 04-26-2008, 11:32 PM
Site library - by El Forum - 04-27-2008, 01:04 AM
Site library - by El Forum - 04-27-2008, 01:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB