@@ 2570-2576 (lines=7) @@ | ||
2567 | * @param bool $reset |
|
2568 | * @return string |
|
2569 | */ |
|
2570 | public function log_file_name($reset = false) |
|
2571 | { |
|
2572 | if (empty($this->log_file_name) || $reset) { |
|
2573 | $this->log_file_name = sanitize_key('espresso_log_' . md5(uniqid('', true))) . '.txt'; |
|
2574 | EE_Config::instance()->update_espresso_config(false, false); |
|
2575 | } |
|
2576 | return $this->log_file_name; |
|
2577 | } |
|
2578 | ||
2579 | ||
@@ 2585-2591 (lines=7) @@ | ||
2582 | * @param bool $reset |
|
2583 | * @return string |
|
2584 | */ |
|
2585 | public function debug_file_name($reset = false) |
|
2586 | { |
|
2587 | if (empty($this->debug_file_name) || $reset) { |
|
2588 | $this->debug_file_name = sanitize_key('espresso_debug_' . md5(uniqid('', true))) . '.txt'; |
|
2589 | EE_Config::instance()->update_espresso_config(false, false); |
|
2590 | } |
|
2591 | return $this->debug_file_name; |
|
2592 | } |
|
2593 | ||
2594 |