thomshouse-escher / escher

Escher was a PHP MVC framework developed by Thom Stricklin from 2011-2013. Escher implemented a hybrid of Model2 MVC and PAC architectures and CMS concepts as well as plugins and configuration wizards. Development halted in 2013 in favor of Kohana and later Symfony, which closely aligned to the same design principles as Escher.
http://git.io/escher
4 stars 1 forks source link

Resolve old code to use $router->getCurrentPath(), getParentPath(), and resolvePath() #3

Closed thomshouse closed 13 years ago

thomshouse commented 13 years ago

Code in the Escher core currently depends on $router->getPath(), either directly or indirectly (e.g. $this->path inside a controller). This should be revised to use the new functions.

Additionally, $header->redirect() should be modified to use the $router->resolvePath() function.