1
0
mirror of https://github.com/Chouchen/shorturl.git synced 2018-06-07 06:34:38 +02:00

Creation of the world.

This commit is contained in:
Shikiryu
2010-12-23 11:26:25 +00:00
commit 0cb5bac454
12 changed files with 922 additions and 0 deletions

2
db/.htaccess Normal file
View File

@@ -0,0 +1,2 @@
RewriteEngine On
RewriteRule (.*) index.php

7
db/config.inc.php Normal file
View File

@@ -0,0 +1,7 @@
<?
const MAX_ARTICLE = 5;
const DATABASE = "db/database.xml";
const MAX_ARTICLE_IN_RSS = 10;
?>

11
db/database.xml Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Database>
<table name="url">
<item id="shiki">
<url>http://www.shikiryu.com</url>
</item>
<item id="goog">
<url>http://www.google.fr</url>
</item>
</table>
</Database>