Skip to content

Commit

Permalink
Merge branch 'release-0.5.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
trq committed Jun 26, 2012
2 parents 9366273 + d861a25 commit f7b67ed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions lib/Proem/Api/Dispatch/Stage.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ protected function processRoutes()
}
}
]);
if ($dispatched) {
break;
}
}

if (!$dispatched) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Proem/Api/Dispatch/Standard.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function isDispatchable()
if (class_exists($this->class)) {
$this->class = new $this->class($this->assets);
if ($this->class instanceof \Proem\Controller\Template) {
if (is_callable($this->class, $this->action . 'Action')) {
if (is_callable([$this->class, $this->action . 'Action'])) {
return true;
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Proem/Api/IO/Response/Http/Standard.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public function appendToBody($string)
$string = (string) $string;
$this->length += strlen($string);
$this->body .= $string;
$this->headers->set('Content-Length', $this->length);
//$this->headers->set('Content-Length', $this->length);
return $this;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Proem/Api/Proem.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Proem
/**
* Store the framework version
*/
const VERSION = '0.5.0';
const VERSION = '0.5.1';

/**
* Store events
Expand Down

0 comments on commit f7b67ed

Please sign in to comment.