+ 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;
} 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 {