Zaktualizowano dane połączenia FTP w plikach konfiguracyjnych oraz dodano raportowanie błędów w pliku cron.php.

This commit is contained in:
2025-03-05 13:25:59 +01:00
parent 90bec6e9a7
commit a49f7248f4
3 changed files with 9 additions and 5 deletions

4
.vscode/ftp-kr.json vendored
View File

@@ -1,7 +1,7 @@
{
"host": "server.hostline.pl",
"host": "host117523.hostido.net.pl",
"username": "www@shoppro.project-dc.pl",
"password": "YTPEGG3kLPZYE9dq9z6Q",
"password": "jb5gnvgGTd6hLq58sDUb",
"remotePath": "/public_html",
"protocol": "ftp",
"port": 0,

6
.vscode/sftp.json vendored
View File

@@ -1,10 +1,10 @@
{
"name": "_shopPRO",
"host": "server.hostline.pl",
"name": "host117523.hostido.net.pl",
"host": "host117523.hostido.net.pl",
"protocol": "ftp",
"port": 21,
"username": "www@shoppro.project-dc.pl",
"password": "YTPEGG3kLPZYE9dq9z6Q",
"password": "jb5gnvgGTd6hLq58sDUb",
"remotePath": "/public_html",
"uploadOnSave": false,
"ignore": [

View File

@@ -671,6 +671,10 @@ if ( $apilo_settings['enabled'] and $apilo_settings['sync_orders'] and $apilo_se
echo print_r( $response, true );
echo print_r( $postData, true );
echo '</pre>';
$email_data = print_r( $response, true );
$email_data .= print_r( $postData, true );
\S::send_email( 'biuro@project-pro.pl', 'Błąd wysyłania zamówienia do apilo.com', $email_data );
}
else
{