Documenation

Configuration

Swiftlet requires very little configuration. In fact, Swiftlet will work with no configuration at all. In most cases you do want to change the default settings which can be done by editing the configuration file.

The configuration file is located at /_config.php.

Settings

  • siteName
    Name of the website.
  • siteCopyright
    Copyright of the website's content.
  • siteDesigner
    Designer of the website.
  • siteDescription
    Description of the website.
  • siteKeywords
    Keywords describing the website.
  • adminEmail
    E-mail address of the website administrator (you). This e-mail address is displayed when an error occurs so users can contact you. It can also used by plugins to send e-mails (for instance the E-mail plugin).
  • sysPassword
    System password, required for some operations such as installing plugins. This should always be set to a unique value which is difficult to guess.
  • caching
    Turn caching on or off. Caching improves performance by reducing server load but can result in outdated information being displayed on the site.
  • debugMode
    Turn debugging on or off (error reporting etc.). Debug mode should always be turned off in a production environment as it may expose details about your installation.
  • urlRewrite
    Turn URL rewriting on or off. Only turn this setting on if it's supported by your server installation.
  • dbHost
    Hostname of the database server (usually "localhost").
  • dbUser
    Username of the database user.
  • dbPass
    Password of the database user.
  • dbName
    Name of the database to select.
  • dbPrefix
    Database table prefix. You can install multiple instances of Swiftlet using a single database by using different prefixes.