Fixed some issued with PHP <5.3, added more built in profiling and ditched the Singleton class (related to <5.3 issues).

This commit is contained in:
Josh Sherman 2010-10-03 23:07:48 -04:00
parent b4db5d1e45
commit 0a6c124302
6 changed files with 43 additions and 125 deletions

View file

@ -67,7 +67,7 @@ class Display_PHP extends Display_Common
$__module = $this->module_return;
$__css_class = $this->css_class;
$__js_file = $this->js_basename;
$__form = $form_class::getInstance();
$__form = new $form_class();
// Loads the template
if ($this->parent_template != null)