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