""
Documentation daCode : daCode webmaster's guide
Chapitre 3. Configuration reference

 

In what follows, when we say we position a parameter "foo" to "coucou", you will have to write in config.php3:


      $this->foo = "coucou";
   


 

Site parameters.

These parameters must be edited to fit your site.

 

sql_backend

Character string. It indicate which database engine you use. Currently it may be 'mysql' for MySQL and 'pgsql' for PostgreSQL. Any other value will break daCode.

 

sql_host

Character string. The hostname of the database server.

 

sql_user

Character string. The username for database access.

 

sql_passwd

Character string. The password for database access.

 

sql_db

Character string. The name of the database.

 

baseurl

Character string. The url for daCode's start directory. This dirctory is named "src/htdocs" in the archive. It must be terminated with a /.

 

name

Character string. Name of the website.

 

titledefault

Character string. Default title of the pages.

 

description

Character string. Description is used in the rss backend generated, so don't do it too long.

 

mailadmin

Character string. The email adress of the site administrator.

 

cookiedomain

Character string. When empty, cookies are only available for the current webserver, define it to a subdomain if you need it.

 

edito

Character string. The text which appears in the "edito" box.

 

mail_login

Character string. If your host doesn't support the mail() command like http://www.free.fr/ then send a mail to penso@dacode.org asking for a login/password, and put them here. Be carefull, this is a privilege, if you abuse it you'll be kicked out. It has to be used only for daCode, nothing else (you have been warned).

 

mail_password

Character string. See mail_login for explations.

 

nis_domain

Character string. Nis: Nis configuration if you want use NIS. If you want use nis, set a value to nis_domain. To get NIS to work, you have to configure PHP with --with-yp. If you don't know what NIS is, or don't know how use that, just leave it blank.