Skip to content

Commit

Permalink
Changed default smartyDir value to application.vendor.Smarty to m…
Browse files Browse the repository at this point in the history
…atch Yii application template
  • Loading branch information
samdark committed Sep 24, 2013
1 parent b4791f4 commit 1b726db
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ESmartyViewRenderer.php
Expand Up @@ -8,7 +8,7 @@
* @link http://yiiext.github.com/extensions/smarty-renderer/index.html
* @link http://www.smarty.net/
*
* @version 1.0.5
* @version 1.0.6
*/
class ESmartyViewRenderer extends CApplicationComponent implements IViewRenderer
{
Expand Down Expand Up @@ -39,7 +39,7 @@ class ESmartyViewRenderer extends CApplicationComponent implements IViewRenderer
* @var string path alias of the directory where the Smarty.class.php file can be found.
* Also plugins and sysplugins directory should be there.
*/
public $smartyDir = 'application.vendors.Smarty';
public $smartyDir = 'application.vendor.Smarty';

/**
* @var array A list of the prefilters to be attached
Expand Down
5 changes: 5 additions & 0 deletions changelog.md
@@ -1,3 +1,8 @@
1.0.6
-----

- Changed default `smartyDir` value to `application.vendor.Smarty` to match Yii application template (samdark)

1.0.5
-----
- Added Yii Aliases support in Smarty Templates (in `{include}` and `{extends}` functions) (thekip)
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -15,8 +15,8 @@ This extension allows you to use [Smarty](http://www.smarty.net/) version 3 temp

###Installation
* Extract the release file under `protected/extensions`.
* [Download](http://www.smarty.net/download.php) and extract `libs` folder contents of Smarty package under `protected/vendors/Smarty`.
* Move files from `plugins` folder to `protected/vendors/Smarty/plugins`.
* [Download](http://www.smarty.net/download.php) and extract `libs` folder contents of Smarty package under `protected/vendor/Smarty`.
* Move files from `plugins` folder to `protected/vendor/Smarty/plugins`.
* Add the following to your config file 'components' section:

~~~php
Expand Down
2 changes: 1 addition & 1 deletion readme_ru.md
Expand Up @@ -16,7 +16,7 @@
###Установка
* Распаковать в `protected/extensions`.
* [Скачать](http://www.smarty.net/download.php) и распаковать содержимое директории
`libs` в `protected/vendors/Smarty`.
`libs` в `protected/vendor/Smarty`.
* Добавить в конфигурацю в секцию 'components':

~~~php
Expand Down

0 comments on commit 1b726db

Please sign in to comment.