[eluser]Unknown[/eluser]
Currently I have 2 different websites that run off the same exact framework. It doesn't make sense to install CodeIgniter in two different directories that should be using the same code.
Although the code to grab pictures and everything is the same, what needs to be different is the page titles, headers, etc...
On my current site (not on CodeIgniter) - I set a public variable as a boolean in my main controller by doing a "strstr" on my $_SERVER['SERVER_NAME'].
If the public boolean variable is 1 then it knows the set the page title to "Random Site 1" otherwise if it's 0 it defaults the page title to "Random Site 2";
How can I take take advantage of using the same class functions (with only minor changes depending on the site) in the most efficient way possible using Code Igniter?