@@ 2219-2225 (lines=7) @@ | ||
2216 | * @param bool $reset |
|
2217 | * @return string |
|
2218 | */ |
|
2219 | public function log_file_name( $reset = FALSE ) { |
|
2220 | if ( empty( $this->log_file_name ) || $reset ) { |
|
2221 | $this->log_file_name = sanitize_key( 'espresso_log_' . md5( uniqid( '', TRUE ))) . '.txt'; |
|
2222 | EE_Config::instance()->update_espresso_config( FALSE, FALSE ); |
|
2223 | } |
|
2224 | return $this->log_file_name; |
|
2225 | } |
|
2226 | ||
2227 | ||
2228 | ||
@@ 2234-2240 (lines=7) @@ | ||
2231 | * @param bool $reset |
|
2232 | * @return string |
|
2233 | */ |
|
2234 | public function debug_file_name( $reset = FALSE ) { |
|
2235 | if ( empty( $this->debug_file_name ) || $reset ) { |
|
2236 | $this->debug_file_name = sanitize_key( 'espresso_debug_' . md5( uniqid( '', TRUE ))) . '.txt'; |
|
2237 | EE_Config::instance()->update_espresso_config( FALSE, FALSE ); |
|
2238 | } |
|
2239 | return $this->debug_file_name; |
|
2240 | } |
|
2241 | ||
2242 | ||
2243 |