-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.php
27 lines (24 loc) · 876 Bytes
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?
/*
Content Engine
https://github.com/Nodws/ContentEngine
by @nodws
*/
if(!defined('ENGINE'))
die('Can\'t Access this file directly');
//No double quotes on text vars
$c[title]="The Super title page";
$c[description]="CMS super flexible";
$c[keywords]="cms, framework, templating, mcv";
//Modify these for added customization, rename dirs and keep it simple
//If you are in a Subdirectory, modify your .htaccess
$c[cdir]="content"; //Contents directory
$c[home]="index"; //Home page name: content/index.html
$c[ext]="html"; //Content file extension, html by default
$c[theme]="assets/theme.tpl"; //Your theme file
$c[img]="assets/img"; //Image directory
$c[ugly]=false; //use ?ugly=urls
$c[adm]="admin"; //Admin directory
$c[root]=__DIR__; //Path to this directory
$c[url] = rtrim(dirname($_SERVER['PHP_SELF']),$c[adm]);
?>