|
@@ 2210-2216 (lines=7) @@
|
| 2207 |
|
* @param bool $reset |
| 2208 |
|
* @return string |
| 2209 |
|
*/ |
| 2210 |
|
public function log_file_name( $reset = FALSE ) { |
| 2211 |
|
if ( empty( $this->log_file_name ) || $reset ) { |
| 2212 |
|
$this->log_file_name = sanitize_key( 'espresso_log_' . md5( uniqid( '', TRUE ))) . '.txt'; |
| 2213 |
|
EE_Config::instance()->update_espresso_config( FALSE, FALSE ); |
| 2214 |
|
} |
| 2215 |
|
return $this->log_file_name; |
| 2216 |
|
} |
| 2217 |
|
|
| 2218 |
|
|
| 2219 |
|
|
|
@@ 2225-2231 (lines=7) @@
|
| 2222 |
|
* @param bool $reset |
| 2223 |
|
* @return string |
| 2224 |
|
*/ |
| 2225 |
|
public function debug_file_name( $reset = FALSE ) { |
| 2226 |
|
if ( empty( $this->debug_file_name ) || $reset ) { |
| 2227 |
|
$this->debug_file_name = sanitize_key( 'espresso_debug_' . md5( uniqid( '', TRUE ))) . '.txt'; |
| 2228 |
|
EE_Config::instance()->update_espresso_config( FALSE, FALSE ); |
| 2229 |
|
} |
| 2230 |
|
return $this->debug_file_name; |
| 2231 |
|
} |
| 2232 |
|
|
| 2233 |
|
|
| 2234 |
|
|