|
@@ 2495-2501 (lines=7) @@
|
| 2492 |
|
* @param bool $reset |
| 2493 |
|
* @return string |
| 2494 |
|
*/ |
| 2495 |
|
public function log_file_name( $reset = false ) { |
| 2496 |
|
if ( empty( $this->log_file_name ) || $reset ) { |
| 2497 |
|
$this->log_file_name = sanitize_key( 'espresso_log_' . md5( uniqid( '', true ) ) ) . '.txt'; |
| 2498 |
|
EE_Config::instance()->update_espresso_config( false, false ); |
| 2499 |
|
} |
| 2500 |
|
return $this->log_file_name; |
| 2501 |
|
} |
| 2502 |
|
|
| 2503 |
|
|
| 2504 |
|
|
|
@@ 2509-2515 (lines=7) @@
|
| 2506 |
|
* @param bool $reset |
| 2507 |
|
* @return string |
| 2508 |
|
*/ |
| 2509 |
|
public function debug_file_name( $reset = false ) { |
| 2510 |
|
if ( empty( $this->debug_file_name ) || $reset ) { |
| 2511 |
|
$this->debug_file_name = sanitize_key( 'espresso_debug_' . md5( uniqid( '', true ) ) ) . '.txt'; |
| 2512 |
|
EE_Config::instance()->update_espresso_config( false, false ); |
| 2513 |
|
} |
| 2514 |
|
return $this->debug_file_name; |
| 2515 |
|
} |
| 2516 |
|
|
| 2517 |
|
|
| 2518 |
|
|