Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correction for Smarty templates update #44

Merged
merged 1 commit into from
Sep 1, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Module extends \kartik\base\Module
/**
* @var boolean|callable turn smarty temlates on/off. Can be a callable function with the $module passed as a parameter.
*/
public $smarty = true;
public $smarty = false;

/**
* @var array|null Smarty class configuration params
Expand All @@ -55,12 +55,12 @@ class Module extends \kartik\base\Module
/**
* @var boolean wether to add Yii::$app as a variable for Smarty templates.
*/
public $smartyYiiApp = true;
public $smartyYiiApp = false;

/**
* @var boolean whether to add Yii::$app->params as smarty configs accessable via {#paramName#} in the editor
*/
public $smartyYiiParams = true;
public $smartyYiiParams = false;

/**
* @var boolean whether to use PHP SmartyPants
Expand Down