|
@@ 2639-2645 (lines=7) @@
|
| 2636 |
|
* @param bool $reset |
| 2637 |
|
* @return string |
| 2638 |
|
*/ |
| 2639 |
|
public function log_file_name($reset = false) |
| 2640 |
|
{ |
| 2641 |
|
if (empty($this->log_file_name) || $reset) { |
| 2642 |
|
$this->log_file_name = sanitize_key('espresso_log_' . md5(uniqid('', true))) . '.txt'; |
| 2643 |
|
EE_Config::instance()->update_espresso_config(false, false); |
| 2644 |
|
} |
| 2645 |
|
return $this->log_file_name; |
| 2646 |
|
} |
| 2647 |
|
|
| 2648 |
|
|
|
@@ 2654-2660 (lines=7) @@
|
| 2651 |
|
* @param bool $reset |
| 2652 |
|
* @return string |
| 2653 |
|
*/ |
| 2654 |
|
public function debug_file_name($reset = false) |
| 2655 |
|
{ |
| 2656 |
|
if (empty($this->debug_file_name) || $reset) { |
| 2657 |
|
$this->debug_file_name = sanitize_key('espresso_debug_' . md5(uniqid('', true))) . '.txt'; |
| 2658 |
|
EE_Config::instance()->update_espresso_config(false, false); |
| 2659 |
|
} |
| 2660 |
|
return $this->debug_file_name; |
| 2661 |
|
} |
| 2662 |
|
|
| 2663 |
|
|