diff --git a/build/libifm.php b/build/libifm.php index 3c91db7..784ba52 100644 --- a/build/libifm.php +++ b/build/libifm.php @@ -2246,7 +2246,6 @@ function IFM( params ) { $this->chDirIfNecessary( $d['dir'] ); if( file_exists( $d['filename'] ) && is_file( $d['filename'] ) && is_readable( $d['filename'] ) ) { $content = @file_get_contents( $d['filename'] ); - file_put_contents( "debugifm.txt", "content: ".$content."\n\n\n" ); if( function_exists( "mb_check_encoding" ) && ! mb_check_encoding( $content, "UTF-8" ) ) $content = utf8_encode( $content ); echo json_encode( array( "status" => "OK", "data" => array( "filename" => $d['filename'], "content" => $content ) ) ); diff --git a/ifm.php b/ifm.php index 3e2f64e..60f111c 100644 --- a/ifm.php +++ b/ifm.php @@ -2246,7 +2246,6 @@ function IFM( params ) { $this->chDirIfNecessary( $d['dir'] ); if( file_exists( $d['filename'] ) && is_file( $d['filename'] ) && is_readable( $d['filename'] ) ) { $content = @file_get_contents( $d['filename'] ); - file_put_contents( "debugifm.txt", "content: ".$content."\n\n\n" ); if( function_exists( "mb_check_encoding" ) && ! mb_check_encoding( $content, "UTF-8" ) ) $content = utf8_encode( $content ); echo json_encode( array( "status" => "OK", "data" => array( "filename" => $d['filename'], "content" => $content ) ) ); diff --git a/src/main.php b/src/main.php index 3987373..46f8996 100644 --- a/src/main.php +++ b/src/main.php @@ -421,7 +421,6 @@ f00bar; $this->chDirIfNecessary( $d['dir'] ); if( file_exists( $d['filename'] ) && is_file( $d['filename'] ) && is_readable( $d['filename'] ) ) { $content = @file_get_contents( $d['filename'] ); - file_put_contents( "debugifm.txt", "content: ".$content."\n\n\n" ); if( function_exists( "mb_check_encoding" ) && ! mb_check_encoding( $content, "UTF-8" ) ) $content = utf8_encode( $content ); echo json_encode( array( "status" => "OK", "data" => array( "filename" => $d['filename'], "content" => $content ) ) );