Permalink
Browse files

Merge branch 'release-0.5.1'

  • Loading branch information...
2 parents 9366273 + d861a25 commit f7b67ed61f58c6c6b6fe388d03036e5c4705d031 @trq trq committed Jun 26, 2012
@@ -151,6 +151,9 @@ protected function processRoutes()
}
}
]);
+ if ($dispatched) {
+ break;
+ }
}
if (!$dispatched) {
@@ -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;
}
}
@@ -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;
}
View
@@ -52,7 +52,7 @@ class Proem
/**
* Store the framework version
*/
- const VERSION = '0.5.0';
+ const VERSION = '0.5.1';
/**
* Store events

0 comments on commit f7b67ed

Please sign in to comment.