Default parent template to "index" and added sanity check if template exists.

This commit is contained in:
Josh Sherman 2010-11-12 23:03:18 -05:00
parent 20b0d55839
commit d64251c098
2 changed files with 5 additions and 2 deletions

View file

@ -121,7 +121,7 @@ class Module extends Object
* @access protected
* @var string, null by default
*/
protected $template = null;
protected $template = 'index';
/**
* Request Data