Skip to content

Commit

Permalink
Now defaults to '' as actually you do not need to set the path if it …
Browse files Browse the repository at this point in the history
…is in the include path
  • Loading branch information
lsolesen committed Apr 30, 2011
1 parent c3a6344 commit 25dbd94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Template.php
Expand Up @@ -54,13 +54,13 @@ class Template
*
* @return void
*/
function Template($path)
function Template($path = '')
{
$this->path = $path;
$this->vars = array();
}

static function create($path)
static function create($path = '')
{
return new Template($path);
}
Expand Down

0 comments on commit 25dbd94

Please sign in to comment.