public
Description: a small url shortener service
Homepage:
Clone URL: git://github.com/winks/shortcore.git
winks (author)
Fri Jul 03 01:24:22 -0700 2009
commit  53de3c5377a3c36df38fa1d3512fcffd246db34e
tree    a327ad499775221a3099ca96b9c9bb6fb248c563
parent  918cbe47ad225d72c979ddcd7a51c652b20177f9
shortcore / shortcore.config.php
100644 32 lines (30 sloc) 0.896 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
<?php
/**
* Shortcore, a small url shortener service
* (c) 2009 Florian Anderiasch, <fa at art dash core dot org>
* BSD-licenced
*/
 
$cfg = array(
    'dbfile' => '/home/www/shortcore/db/shortcore.db',
    'table' => 'shortcore',
    'DEBUG' => false,
    'home' => 'http://example.org/',
    'tpl_body' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Shortcore</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
</head>
<body>
<div>
%s
</div>
<p style="float: right;">
<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-xhtml10"
alt="Valid XHTML 1.0 Strict" height="31" width="88" style="border:0;" /></a>
</p>
</body>
</html>'
);
?>