Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Now defaults to '' as actually you do not need to set the path if it …

…is in the include path
  • Loading branch information...
commit 25dbd94e1c42601b5b3400b803fdd2d5d22d4182 1 parent c3a6344
@lsolesen authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Template.php
View
4 src/Template.php
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.