|
@@ 2652-2658 (lines=7) @@
|
| 2649 |
|
* @param bool $reset |
| 2650 |
|
* @return string |
| 2651 |
|
*/ |
| 2652 |
|
public function log_file_name($reset = false) |
| 2653 |
|
{ |
| 2654 |
|
if (empty($this->log_file_name) || $reset) { |
| 2655 |
|
$this->log_file_name = sanitize_key('espresso_log_' . md5(uniqid('', true))) . '.txt'; |
| 2656 |
|
EE_Config::instance()->update_espresso_config(false, false); |
| 2657 |
|
} |
| 2658 |
|
return $this->log_file_name; |
| 2659 |
|
} |
| 2660 |
|
|
| 2661 |
|
|
|
@@ 2666-2672 (lines=7) @@
|
| 2663 |
|
* @param bool $reset |
| 2664 |
|
* @return string |
| 2665 |
|
*/ |
| 2666 |
|
public function debug_file_name($reset = false) |
| 2667 |
|
{ |
| 2668 |
|
if (empty($this->debug_file_name) || $reset) { |
| 2669 |
|
$this->debug_file_name = sanitize_key('espresso_debug_' . md5(uniqid('', true))) . '.txt'; |
| 2670 |
|
EE_Config::instance()->update_espresso_config(false, false); |
| 2671 |
|
} |
| 2672 |
|
return $this->debug_file_name; |
| 2673 |
|
} |
| 2674 |
|
|
| 2675 |
|
|