-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
46 lines (39 loc) · 1.19 KB
/
Copy pathindex.php
File metadata and controls
46 lines (39 loc) · 1.19 KB
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
<?php
date_default_timezone_set("Europe/Copenhagen");
define("VERSION", 0.3);
define("PUBDOCS", 'content/pub');
define("ERROR404", 'system/error/404.txt');
define("VIEWS", 'views');
define("INDEX", 'index');
define("EXT", '.txt');
define("CACHELIFE", 5*60); // secs
define("CACHEPATH", 'cache');
define("URI", $_SERVER['REQUEST_URI']);
define("PAGE_WIDTH", 950);
define("MAX_MEDIA_HEIGHT", 550);
define("ADMIN_EMAIL", "admin@yourdomain.com");
$FLICK_API_KEY = "12345678901234567890";
$BASE_DIRECTORIES = array("blog", "experiments", "projects", "dev", "news", "team", "references");
$BASE_FIELDS = array(
"state" => 1, // 1:public, 2:review, 3:draft, 4:private
"author"=> "Std. Author",
"date" => "100814", //TODO(marcin): should default to something more smart
"mdate" => "00",
"title" => "",
"thumb" => "../../static/img/thumb.png",
"tags" => "",
"categories" => "",
"country"=> "ISO",
"client" => "Std. Client",
"team" => "Std. Team",
"body" => "",
"teaser" => " "
);
$BASE_FILTERS = array(
"category" => "categories",
"tag" => "tags",
"technology" => "technologies",
"date" => "date"
);
require 'system/Core.php';
Core::run();