Skip to content

Commit

Permalink
v0.2.1, added atom-feed, sorted tags, not fully tested
Browse files Browse the repository at this point in the history
  • Loading branch information
BadBoy authored and BadBoy committed Jul 25, 2008
1 parent 5047ac2 commit 66b77c8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
RewriteEngine on
RewriteBase /devbird_git/
RewriteCond %{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI} !-d
RewriteRule ^page/(\d+)$ index.php?p=$1
RewriteRule ^site/(.+)$ index.php?site=$1
RewriteRule ^(\d+)/.*$ index.php?id=$1
RewriteRule ^(index(\.php)*)*$ index.php
RewriteRule ^tag/(.*?)(/page/(\d+))*$ index.php?tag=$1&p=$3
RewriteRule ^feed/(rss|atom)?$ feed.php?type=$1

ErrorDocument 404 /devbird_git/error.php?error=404
10 changes: 10 additions & 0 deletions config/config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?
if(!defined('IN_CORE')) die('Direct Access is not allowed!');

define('TABLE_PREFIX', 'db_');
##mysql data
$mysql_hostname = '';
$mysql_username = '';
$mysql_password = '';
$mysql_database = '';
?>

0 comments on commit 66b77c8

Please sign in to comment.