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:
2
db/.htaccess
Normal file
2
db/.htaccess
Normal file
@@ -0,0 +1,2 @@
|
||||
RewriteEngine On
|
||||
RewriteRule (.*) index.php
|
7
db/config.inc.php
Normal file
7
db/config.inc.php
Normal 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
11
db/database.xml
Normal 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>
|
Reference in New Issue
Block a user