src/think/log/driver/File.php 1 location
|
@@ 54-56 (lines=3) @@
|
| 51 |
|
$this->config['path'] = $app->getRuntimePath() . 'log'; |
| 52 |
|
} |
| 53 |
|
|
| 54 |
|
if (substr($this->config['path'], -1) != DIRECTORY_SEPARATOR) { |
| 55 |
|
$this->config['path'] .= DIRECTORY_SEPARATOR; |
| 56 |
|
} |
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
/** |
src/think/session/driver/File.php 1 location
|
@@ 43-45 (lines=3) @@
|
| 40 |
|
|
| 41 |
|
if (empty($this->config['path'])) { |
| 42 |
|
$this->config['path'] = $app->getRootPath() . 'runtime' . DIRECTORY_SEPARATOR . 'session' . DIRECTORY_SEPARATOR; |
| 43 |
|
} elseif (substr($this->config['path'], -1) != DIRECTORY_SEPARATOR) { |
| 44 |
|
$this->config['path'] .= DIRECTORY_SEPARATOR; |
| 45 |
|
} |
| 46 |
|
|
| 47 |
|
$this->init(); |
| 48 |
|
} |