|
@@ 2505-2511 (lines=7) @@
|
| 2502 |
|
* @param bool $reset |
| 2503 |
|
* @return string |
| 2504 |
|
*/ |
| 2505 |
|
public function log_file_name( $reset = false ) { |
| 2506 |
|
if ( empty( $this->log_file_name ) || $reset ) { |
| 2507 |
|
$this->log_file_name = sanitize_key( 'espresso_log_' . md5( uniqid( '', true ) ) ) . '.txt'; |
| 2508 |
|
EE_Config::instance()->update_espresso_config( false, false ); |
| 2509 |
|
} |
| 2510 |
|
return $this->log_file_name; |
| 2511 |
|
} |
| 2512 |
|
|
| 2513 |
|
|
| 2514 |
|
|
|
@@ 2519-2525 (lines=7) @@
|
| 2516 |
|
* @param bool $reset |
| 2517 |
|
* @return string |
| 2518 |
|
*/ |
| 2519 |
|
public function debug_file_name( $reset = false ) { |
| 2520 |
|
if ( empty( $this->debug_file_name ) || $reset ) { |
| 2521 |
|
$this->debug_file_name = sanitize_key( 'espresso_debug_' . md5( uniqid( '', true ) ) ) . '.txt'; |
| 2522 |
|
EE_Config::instance()->update_espresso_config( false, false ); |
| 2523 |
|
} |
| 2524 |
|
return $this->debug_file_name; |
| 2525 |
|
} |
| 2526 |
|
|
| 2527 |
|
|
| 2528 |
|
|