File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
3- * Created by PhpStorm.
4- * User: langn
5- * Date: 02.10.14
6- * Time: 14:21
7- *
8- * /citools/tools/common/php/5.5.9/bin/php codecept.phar
9- *
10- * @todo config logfile
113 *
124 */
135
@@ -31,9 +23,13 @@ public function __construct($config)
3123
3224 private function init ()
3325 {
34- $ this ->debug ("Initializing VisualCeptionReportt " );
26+ $ this ->debug ("Initializing VisualCeptionReport " );
3527
36- $ this ->logFile = \Codeception \Configuration::logDir () . 'vcresult.html ' ;
28+ if (array_key_exists ('logFile ' , $ this ->config )) {
29+ $ this ->logFile = $ this ->config ["logFile " ];
30+ }else {
31+ $ this ->logFile = \Codeception \Configuration::logDir () . 'vcresult.html ' ;
32+ }
3733
3834 if (array_key_exists ('templateVars ' , $ this ->config )) {
3935 $ this ->templateVars = $ this ->config ["templateVars " ];
You can’t perform that action at this time.
0 commit comments