deny access to include files

darcs-hash:20080514190009-84dde-30f0f1b5955d71cd85563e12078ab02bf8645524.gz
This commit is contained in:
Evan Prodromou 2008-05-14 15:00:09 -04:00
parent 104674fb0e
commit 0036795582
12 changed files with 18 additions and 2 deletions

3
TODO
View File

@ -13,7 +13,8 @@
+ subscribe links on profile
+ header menu
+ footer menu
- disallow direct to PHP files
+ disallow direct to PHP files
- require valid nicknames
- common_local_url()
- configuration system ($config)
- RSS 1.0 feeds of a user's notices

View File

@ -1,5 +1,7 @@
<?php
if (!defined('MICROBLOG')) { exit(1) }
class Action { // lawsuit
var $args;

View File

@ -31,4 +31,3 @@ class SettingsAction extends Action {
} else {
$this->show_form();
}

View File

@ -1,4 +1,7 @@
<?php
if (!defined('MICROBLOG')) { exit(1) }
/**
* Table Definition for notice
*/

View File

@ -1,4 +1,5 @@
<?php
if (!defined('MICROBLOG')) { exit(1) }
/**
* Table Definition for profile
*/

View File

@ -1,4 +1,5 @@
<?php
if (!defined('MICROBLOG')) { exit(1) }
/**
* Table Definition for remote_profile
*/

View File

@ -1,4 +1,5 @@
<?php
if (!defined('MICROBLOG')) { exit(1) }
/**
* Table Definition for subscription
*/

View File

@ -1,4 +1,5 @@
<?php
if (!defined('MICROBLOG')) { exit(1) }
/**
* Table Definition for user
*/

View File

@ -1,5 +1,7 @@
<?php
if (!defined('MICROBLOG')) { exit(1) }
# global configuration object
// default configuration, overwritten in config.php

View File

@ -1,5 +1,7 @@
<?php
if (!defined('MICROBLOG')) { exit(1) }
$dsn = array(
'phptype' => 'pgsql',
'username' => 'someuser',

View File

@ -1,6 +1,7 @@
<?php
define('INSTALLDIR', dirname(__FILE__));
define('MICROBLOG', true);
require_once(INSTALLDIR . "/common.php");

View File

@ -1,5 +1,7 @@
<?php
if (!defined('MICROBLOG')) { exit(1) }
define('NOTICES_PER_PAGE', 20);
class StreamAction extends Action {