This repository has been archived by the owner on Feb 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_outline.php
59 lines (52 loc) · 1.93 KB
/
config_outline.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/**
* aoxPages
*
* a free as in beer homepage management system
*
* @license Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Austria License
* @author Dustin Steiner
* @link http://www.alopix.net
* @email [email protected]
*
* @file config_outline.php
* @version 1.0 Pre-Alpha 1
* @date 02/15/2010
*
* Copyright (c) 2010
*/
// some database-configurations
// some Outline (template) configurations
// root path of your Outline installation
define("OUTLINE_SYSTEM_PATH", AOX_PATH);
// root path of your application
define("OUTLINE_SCRIPT_PATH", AOX_PATH);
// path to Outline's system classes
define("OUTLINE_CLASS_PATH", OUTLINE_SYSTEM_PATH . "/lib/tpl");
// if set, displays various debugging messages during load/compile
define("OUTLINE_DEBUG", false);
// if set, compiles templates unconditionally, on every run
define("OUTLINE_ALWAYS_COMPILE", false);
// default OutlineEngine configuration settings
// path to folder containing templates
define("OUTLINE_TEMPLATE_PATH", OUTLINE_SCRIPT_PATH . "/templates");
// folder containing compiled templates (must be writable)
define("OUTLINE_COMPILED_PATH", OUTLINE_SCRIPT_PATH . "/compiled");
// the folder in which the Cache class stores it's content
define("OUTLINE_CACHE_PATH", OUTLINE_SCRIPT_PATH . "/cache");
// file extension or suffix for cache files
define("OUTLINE_CACHE_SUFFIX", ".html");
// default cache time (in seconds)
define("OUTLINE_CACHE_TIME", 60*60*24);
// permission flag for created files (cache and compiled templates)
define("OUTLINE_FILE_MODE", 0777);
// permission flag for created directories
define("OUTLINE_DIR_MODE", 0777);
// Outline Debug function
function OutlineDebug($msg) {
echo "<div style=\"color:#f00\"><strong>Outline</strong>: $msg</div>";
}
// load the engine and modifiers
require_once OUTLINE_CLASS_PATH . "/engine.php";
require_once OUTLINE_CLASS_PATH . "/modifiers.php";
?>