Some more performance improvements and caching
This commit is contained in:
@@ -56,6 +56,12 @@ abstract class Controller_TemplateDefault_View extends Controller_TemplateDefaul
|
||||
HTTP::redirect(strtolower($this->request->controller()));
|
||||
}
|
||||
|
||||
// For some tables, are ID is base_64 encoded.
|
||||
switch ($this->orm) {
|
||||
case 'VOLUME': $object_name = base64_decode($object_name);
|
||||
break;
|
||||
}
|
||||
|
||||
$o = ORM::factory($this->orm,$object_name);
|
||||
|
||||
if (! $o->loaded()) {
|
||||
|
Reference in New Issue
Block a user