Aktualizacja konfiguracji FTP oraz poprawa formatowania kodu w plikach konfiguracyjnych
This commit is contained in:
4
.vscode/ftp-kr.json
vendored
4
.vscode/ftp-kr.json
vendored
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"host": "193.177.164.18",
|
||||
"host": "host700513.hostido.net.pl",
|
||||
"username": "www@pomysloweprezenty.pl",
|
||||
"password": "rY8f848N7b4U8edzHwsS",
|
||||
"password": "vx6HmtcdGraQTBwj3BDV",
|
||||
"remotePath": "/public_html",
|
||||
"protocol": "ftp",
|
||||
"port": 0,
|
||||
|
||||
6
.vscode/sftp.json
vendored
6
.vscode/sftp.json
vendored
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "193.177.164.18",
|
||||
"host": "193.177.164.18",
|
||||
"name": "host700513.hostido.net.pl",
|
||||
"host": "host700513.hostido.net.pl",
|
||||
"protocol": "ftp",
|
||||
"port": 21,
|
||||
"username": "www@pomysloweprezenty.pl",
|
||||
"password": "rY8f848N7b4U8edzHwsS",
|
||||
"password": "vx6HmtcdGraQTBwj3BDV",
|
||||
"remotePath": "/public_html",
|
||||
"uploadOnSave": false,
|
||||
"useTempFile": false,
|
||||
|
||||
@@ -280,9 +280,8 @@ class Articles
|
||||
$mdb -> update( 'pp_articles', [
|
||||
'show_title' => $show_title == 'on' ? 1 : 0,
|
||||
'show_date_add' => $show_date_add == 'on' ? 1 : 0,
|
||||
'date_add' => $date_add,
|
||||
'show_date_modify' => $show_date_modify == 'on' ? 1 : 0,
|
||||
'date_modify' => $date_modify,
|
||||
'date_modify' => date( 'Y-m-d H:i:s' ),
|
||||
'modify_by' => $user['id'],
|
||||
'layout_id' => $layout_id ? (int)$layout_id : null,
|
||||
'status' => $status == 'on' ? 1 : 0,
|
||||
@@ -290,7 +289,7 @@ class Articles
|
||||
'social_icons' => $social_icons == 'on' ? 1 : 0,
|
||||
'show_table_of_contents' => $show_table_of_contents == 'on' ? 1 : 0,
|
||||
], [
|
||||
'id' => (int)$article_id
|
||||
'id' => (int)$article_id
|
||||
] );
|
||||
|
||||
foreach ( $title as $key => $val )
|
||||
|
||||
Reference in New Issue
Block a user