|
@@ 2599-2605 (lines=7) @@
|
| 2596 |
|
* @param bool $reset |
| 2597 |
|
* @return string |
| 2598 |
|
*/ |
| 2599 |
|
public function log_file_name($reset = false) |
| 2600 |
|
{ |
| 2601 |
|
if (empty($this->log_file_name) || $reset) { |
| 2602 |
|
$this->log_file_name = sanitize_key('espresso_log_' . md5(uniqid('', true))) . '.txt'; |
| 2603 |
|
EE_Config::instance()->update_espresso_config(false, false); |
| 2604 |
|
} |
| 2605 |
|
return $this->log_file_name; |
| 2606 |
|
} |
| 2607 |
|
|
| 2608 |
|
|
|
@@ 2614-2620 (lines=7) @@
|
| 2611 |
|
* @param bool $reset |
| 2612 |
|
* @return string |
| 2613 |
|
*/ |
| 2614 |
|
public function debug_file_name($reset = false) |
| 2615 |
|
{ |
| 2616 |
|
if (empty($this->debug_file_name) || $reset) { |
| 2617 |
|
$this->debug_file_name = sanitize_key('espresso_debug_' . md5(uniqid('', true))) . '.txt'; |
| 2618 |
|
EE_Config::instance()->update_espresso_config(false, false); |
| 2619 |
|
} |
| 2620 |
|
return $this->debug_file_name; |
| 2621 |
|
} |
| 2622 |
|
|
| 2623 |
|
|