config.php

Config.php, a forum discussion on Jojo CMS. Join us for more discussions on Config.php on our General Discussion forum.

Back to Forum Index : Back to General Discussion   RSS
sara

23 Feb 2010
Posts: 1

hi to all
i am not on php advance base but learned it, i am trying to underestand your code but i didnt undrestand of "config.php"
what do you mean?where is it?
i mean :

-------------------------------------------------
'if (file_exists('config.php')) {
require_once('config.php');
} elseif (file_exists('config/config.php')) {
require_once('config/config.php');'
-------------------------------------------------

Yours sincerely
Jaijaz Jaijaz

23 Feb 2010
Posts: 215

The config.php file exists in the html or www folder. In other words your root folder of your host site.

It gets created during the install process and contains all of the database connection information among other things.
If you not living on the edge you taking up too much space.
Back to Forum Index : Back to General Discussion   RSS
You must be logged in to post a reply



You need to Register or Log In before posting on these forums.