Remove unused cache file, update order logging to comment out file creation, remove logging summary call in index, add .DS_Store file, create .htaccess for security settings

This commit is contained in:
2025-12-28 11:06:19 +01:00
parent 6af91475ae
commit 89886255ea
8 changed files with 21 additions and 6 deletions

View File

@@ -201,7 +201,7 @@ class Order implements \ArrayAccess
if ( !is_dir( $dir_logs ) )
mkdir( $dir_logs, 0777, true );
$file = $dir_logs . date( 'Y-m-d' ) . '-order-set-as-paid.txt';
// $file = $dir_logs . date( 'Y-m-d' ) . '-order-set-as-paid.txt';
$content = date( 'Y-m-d H:i:s' ) . ' | ' . $this -> id . ' | ' . $this -> number . ' | ' . $this -> summary . ' | ' . $this -> client_email . "\n";
$content .= print_r( $apilo_response, true ) . "\n\n";
file_put_contents( $file, $content, FILE_APPEND );