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