Book Image

concrete5 Beginner's Guide

Book Image

concrete5 Beginner's Guide

Overview of this book

Table of Contents (19 chapters)
concrete5
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Configuration


In this chapter, you'll find lots of different options you can set. You will probably have to change them very rarely. Memorizing every part in this chapter isn't going to help you a lot, but try to remember the things you can change in case you've got a project with special requirements.

Updating the configuration file

While there are several options you can change using the concrete5 interface, there are also lots of values you have to set in your configuration files.

In this section you'll find some code snippets. Make sure you paste them between the PHP tags. If the file config/site.php looks like the following:

<?php 
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'concrete5');
define('DB_PASSWORD', 'concrete5');
define('DB_DATABASE', 'concrete5');
define('BASE_URL', 'http://www.example.com');
define('DIR_REL', '');
define('PASSWORD_SALT', 'R3nAjizpVw3AbleCFD2e5fZbXzNACYvnxoq');
?>

You have to insert the snippets before the closing PHP tag, as follows:

<?php...