|
@@ 2556-2562 (lines=7) @@
|
| 2553 |
|
* @param bool $reset |
| 2554 |
|
* @return string |
| 2555 |
|
*/ |
| 2556 |
|
public function log_file_name($reset = false) |
| 2557 |
|
{ |
| 2558 |
|
if (empty($this->log_file_name) || $reset) { |
| 2559 |
|
$this->log_file_name = sanitize_key('espresso_log_' . md5(uniqid('', true))) . '.txt'; |
| 2560 |
|
EE_Config::instance()->update_espresso_config(false, false); |
| 2561 |
|
} |
| 2562 |
|
return $this->log_file_name; |
| 2563 |
|
} |
| 2564 |
|
|
| 2565 |
|
|
|
@@ 2570-2576 (lines=7) @@
|
| 2567 |
|
* @param bool $reset |
| 2568 |
|
* @return string |
| 2569 |
|
*/ |
| 2570 |
|
public function debug_file_name($reset = false) |
| 2571 |
|
{ |
| 2572 |
|
if (empty($this->debug_file_name) || $reset) { |
| 2573 |
|
$this->debug_file_name = sanitize_key('espresso_debug_' . md5(uniqid('', true))) . '.txt'; |
| 2574 |
|
EE_Config::instance()->update_espresso_config(false, false); |
| 2575 |
|
} |
| 2576 |
|
return $this->debug_file_name; |
| 2577 |
|
} |
| 2578 |
|
|
| 2579 |
|
|