Merge pull request #96 from fabrixxm/api

Status.net Api
This commit is contained in:
Friendika
2011-05-05 04:29:45 -07:00
9 changed files with 694 additions and 14 deletions

View File

@@ -288,7 +288,7 @@ class App {
$this->argv = explode('/',$this->cmd);
$this->argc = count($this->argv);
if((array_key_exists('0',$this->argv)) && strlen($this->argv[0])) {
$this->module = $this->argv[0];
$this->module = str_replace(".", "_", $this->argv[0]);
}
else {
$this->module = 'home';