Skip to content

Commit 83cbd60

Browse files
Rename snappy_tempdir to snappyTempdir
New name complies with Yii naming conventions.
1 parent 3a0c693 commit 83cbd60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ following in configuration `components` section:
3333
Specifying paths to binaries is mandatory. Optionally you can configure
3434
default command line arguments that can be overridden or adjusted later.
3535
It is also possible to set temporary directory for both components using
36-
`snappy_tempdir` application parameter.
36+
`snappyTempdir` application parameter.
3737

3838
## Usage
3939

src/AbstractComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ public function __call($name, $parameters)
5858
*/
5959
protected function resolveTempdir()
6060
{
61-
return $this->tempdir ?: Yii::app()->params['snappy_tempdir'];
61+
return $this->tempdir ?: Yii::app()->getParams()->itemAt('snappyTempdir');
6262
}
6363
}

0 commit comments

Comments
 (0)