|
@@ 2420-2426 (lines=7) @@
|
| 2417 |
|
* @param bool $reset |
| 2418 |
|
* @return string |
| 2419 |
|
*/ |
| 2420 |
|
public function log_file_name( $reset = false ) { |
| 2421 |
|
if ( empty( $this->log_file_name ) || $reset ) { |
| 2422 |
|
$this->log_file_name = sanitize_key( 'espresso_log_' . md5( uniqid( '', true ) ) ) . '.txt'; |
| 2423 |
|
EE_Config::instance()->update_espresso_config( false, false ); |
| 2424 |
|
} |
| 2425 |
|
return $this->log_file_name; |
| 2426 |
|
} |
| 2427 |
|
|
| 2428 |
|
|
| 2429 |
|
|
|
@@ 2434-2440 (lines=7) @@
|
| 2431 |
|
* @param bool $reset |
| 2432 |
|
* @return string |
| 2433 |
|
*/ |
| 2434 |
|
public function debug_file_name( $reset = false ) { |
| 2435 |
|
if ( empty( $this->debug_file_name ) || $reset ) { |
| 2436 |
|
$this->debug_file_name = sanitize_key( 'espresso_debug_' . md5( uniqid( '', true ) ) ) . '.txt'; |
| 2437 |
|
EE_Config::instance()->update_espresso_config( false, false ); |
| 2438 |
|
} |
| 2439 |
|
return $this->debug_file_name; |
| 2440 |
|
} |
| 2441 |
|
|
| 2442 |
|
|
| 2443 |
|
|