|
@@ 2541-2547 (lines=7) @@
|
| 2538 |
|
* @param bool $reset |
| 2539 |
|
* @return string |
| 2540 |
|
*/ |
| 2541 |
|
public function log_file_name($reset = false) |
| 2542 |
|
{ |
| 2543 |
|
if (empty($this->log_file_name) || $reset) { |
| 2544 |
|
$this->log_file_name = sanitize_key('espresso_log_' . md5(uniqid('', true))) . '.txt'; |
| 2545 |
|
EE_Config::instance()->update_espresso_config(false, false); |
| 2546 |
|
} |
| 2547 |
|
return $this->log_file_name; |
| 2548 |
|
} |
| 2549 |
|
|
| 2550 |
|
|
|
@@ 2556-2562 (lines=7) @@
|
| 2553 |
|
* @param bool $reset |
| 2554 |
|
* @return string |
| 2555 |
|
*/ |
| 2556 |
|
public function debug_file_name($reset = false) |
| 2557 |
|
{ |
| 2558 |
|
if (empty($this->debug_file_name) || $reset) { |
| 2559 |
|
$this->debug_file_name = sanitize_key('espresso_debug_' . md5(uniqid('', true))) . '.txt'; |
| 2560 |
|
EE_Config::instance()->update_espresso_config(false, false); |
| 2561 |
|
} |
| 2562 |
|
return $this->debug_file_name; |
| 2563 |
|
} |
| 2564 |
|
|
| 2565 |
|
|