aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-04-01 23:56:13 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-04-01 23:56:13 -0400
commit5eca42975cdf3fc0e5be2dfdb05ded9d19ed5b7c (patch)
tree5ce33b1595a2dd7d94e43ca9d2efc7be8facc94b /boot.php
parent9472ba8d2031183cc9d573f27e02511c1c5a3050 (diff)
parent5d35f0d54a52801dd9a17d4e44c294e4c9168de3 (diff)
downloadvolse-hubzilla-5eca42975cdf3fc0e5be2dfdb05ded9d19ed5b7c.tar.gz
volse-hubzilla-5eca42975cdf3fc0e5be2dfdb05ded9d19ed5b7c.tar.bz2
volse-hubzilla-5eca42975cdf3fc0e5be2dfdb05ded9d19ed5b7c.zip
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master: add title to D* posts allow users to set categories on their posts Modified peopleyouknow to handle sites without Facebook better diabook-themes: add link to global dir in "find friends" at right_aside modified: mod/newmember.php New user quick start. check for style.php existence before inclusion Moved Diaspora notes away from top, per user request * master:
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 2f2e28ceb..c2690f6ef 100755
--- a/boot.php
+++ b/boot.php
@@ -293,6 +293,8 @@ class App {
public $nav_sel;
+ public $category;
+
private $scheme;
private $hostname;
private $baseurl;
@@ -377,6 +379,9 @@ class App {
$this->argc = count($this->argv);
if((array_key_exists('0',$this->argv)) && strlen($this->argv[0])) {
$this->module = str_replace(".", "_", $this->argv[0]);
+ if(array_key_exists('2',$this->argv)) {
+ $this->category = $this->argv[2];
+ }
}
else {
$this->argc = 1;