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 + subscribe links on profile
+ header menu + header menu
+ footer menu + footer menu
- disallow direct to PHP files + disallow direct to PHP files
- require valid nicknames
- common_local_url() - common_local_url()
- configuration system ($config) - configuration system ($config)
- RSS 1.0 feeds of a user's notices - RSS 1.0 feeds of a user's notices

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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