1

Topic: why put base_url in a db

why put base_url option in table in db
instead in config.php

when i want to use base_url i must connect to database!

If your people come crazy, you will not need to your mind any more.

Re: why put base_url in a db

Why put anything in the database? The reason it's in the database is because it doesn't have to be in config.php (like the database connection and cookie stuff).

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3

Re: why put base_url in a db

some functions i build in my mods not need to use database, but need o_base_url because is like as pun_root kind.

OK, no problem, i added url_root to my confog.php, Thanks

visit my web site www.parmaja.com

If your people come crazy, you will not need to your mind any more.

4

Re: why put base_url in a db

i am use o_base_url or url_root with parser.php to build link smiles images when i call parse_message from my home page or other pages are not in forum dirctory.

If your people come crazy, you will not need to your mind any more.