git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 00367955 authored by Evan Prodromou's avatar Evan Prodromou

deny access to include files

darcs-hash:20080514190009-84dde-30f0f1b5955d71cd85563e12078ab02bf8645524.gz
parent 104674fb
......@@ -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
......
<?php
if (!defined('MICROBLOG')) { exit(1) }
class Action { // lawsuit
var $args;
......
......@@ -31,4 +31,3 @@ class SettingsAction extends Action {
} else {
$this->show_form();
}
\ No newline at end of file
<?php
if (!defined('MICROBLOG')) { exit(1) }
/**
* Table Definition for notice
*/
......
<?php
if (!defined('MICROBLOG')) { exit(1) }
/**
* Table Definition for profile
*/
......
<?php
if (!defined('MICROBLOG')) { exit(1) }
/**
* Table Definition for remote_profile
*/
......
<?php
if (!defined('MICROBLOG')) { exit(1) }
/**
* Table Definition for subscription
*/
......
<?php
if (!defined('MICROBLOG')) { exit(1) }
/**
* Table Definition for user
*/
......
<?php
if (!defined('MICROBLOG')) { exit(1) }
# global configuration object
// default configuration, overwritten in config.php
......
<?php
if (!defined('MICROBLOG')) { exit(1) }
$dsn = array(
'phptype' => 'pgsql',
'username' => 'someuser',
......
<?php
define('INSTALLDIR', dirname(__FILE__));
define('MICROBLOG', true);
require_once(INSTALLDIR . "/common.php");
......
<?php
if (!defined('MICROBLOG')) { exit(1) }
define('NOTICES_PER_PAGE', 20);
class StreamAction extends Action {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment