[eluser]coffeeandcode[/eluser]
[quote author="Gewa" date="1279813198"]then one thing. is it possible in index.php define a config variable, or a constant which I can acess in the controller?
What would be the best for this?
I need to pass somehow the web-site alias , then to make a check...[/quote]
I use the same WEBROOT, IMG, CSS, etc constants regardless of which framework I'm working with (keeps things consistent if I need to change frameworks), and with CI I define them at the top of index.php. It works great :-)