|
@@ 2588-2594 (lines=7) @@
|
| 2585 |
|
* @param bool $reset |
| 2586 |
|
* @return string |
| 2587 |
|
*/ |
| 2588 |
|
public function log_file_name($reset = false) |
| 2589 |
|
{ |
| 2590 |
|
if (empty($this->log_file_name) || $reset) { |
| 2591 |
|
$this->log_file_name = sanitize_key('espresso_log_' . md5(uniqid('', true))) . '.txt'; |
| 2592 |
|
EE_Config::instance()->update_espresso_config(false, false); |
| 2593 |
|
} |
| 2594 |
|
return $this->log_file_name; |
| 2595 |
|
} |
| 2596 |
|
|
| 2597 |
|
|
|
@@ 2603-2609 (lines=7) @@
|
| 2600 |
|
* @param bool $reset |
| 2601 |
|
* @return string |
| 2602 |
|
*/ |
| 2603 |
|
public function debug_file_name($reset = false) |
| 2604 |
|
{ |
| 2605 |
|
if (empty($this->debug_file_name) || $reset) { |
| 2606 |
|
$this->debug_file_name = sanitize_key('espresso_debug_' . md5(uniqid('', true))) . '.txt'; |
| 2607 |
|
EE_Config::instance()->update_espresso_config(false, false); |
| 2608 |
|
} |
| 2609 |
|
return $this->debug_file_name; |
| 2610 |
|
} |
| 2611 |
|
|
| 2612 |
|
|