Location: PHPKode > projects > Dev's CMS > devscms/includes/example.config.php
<?php

// System
$systemConfig = &config::createNamespace('system');
$systemConfig->stylesPath = '';
$systemConfig->scriptsPath = '';
$systemConfig->localeLong = 'swedish';
$systemConfig->localeShort = 'sve';
$systemConfig->siteName = "Dev's CMS Test";
$systemConfig->modules = "documents,files,news,gallery";
$systemConfig->enabledModules = "documents,files,news,gallery";
$systemConfig->checkTemplate = true;
unset($systemConfig);

// Auth
$authConfig = &config::createNamespace('auth');
$authConfig->password = 'demo';
$authConfig->redirectPage = '/admin/';
$authConfig->loginPage = '/admin/?p=l';
unset($authConfig);

// Templates
config::createNamespace('template')->path = 'templates/';

// Database
$dbConfig = &config::createNamespace('db');
$dbConfig->host = 'localhost';
$dbConfig->user = 'root';
$dbConfig->pass = '';
$dbConfig->name = 'devscms';
unset($dbConfig);

// Documents
$documentsConfig = config::createNamespace('documents');
$documentsConfig->name = 'Dokument';
$documentsConfig->tableName = 'documents';
$documentsConfig->allowCreate = true;
unset($documentsConfig);

// Gallery
$galleryConfig = config::createNamespace('gallery');
$galleryConfig->name = 'Galleri';
$galleryConfig->tablePrefix = 'gallery_';
$galleryConfig->path = 'gallery/';
$galleryConfig->uploadPath = 'gallery/upload/';
$galleryConfig->size = 600;
$galleryConfig->thumbSize = 120;
$galleryConfig->thumbMiniSize = 50;
$galleryConfig->thumbMediumSize = 160;
unset($galleryConfig);

// Files
$filesConfig = config::createNamespace('files');
$filesConfig->name = 'Filer';
$filesConfig->tableName = 'files';
$filesConfig->path = 'files/';
unset($filesConfig);

// News
$newsConfig = config::createNamespace('news');
$newsConfig->name = 'Nyheter';
$newsConfig->tableName = 'news';
unset($newsConfig);
Return current item: Dev's CMS