Update FTP and database configuration for brpp.pl

This commit is contained in:
2025-11-03 21:32:39 +01:00
parent 8604599c46
commit f632e95630
4 changed files with 200 additions and 187 deletions

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

@@ -1,10 +1,10 @@
{
"host": "host117523.hostido.net.pl",
"username": "www@brpp.pagedev.pl",
"password": "LmjPPmby7uexMf7FGdSF",
"remotePath": "/public_html",
"host": "brpp.pl",
"username": "strona@brpp.pl",
"password": "nwQQzlTpxh2VC0l5rkwr",
"remotePath": "/brpp.pl/",
"protocol": "ftp",
"port": 0,
"port": 21,
"fileNameEncoding": "utf8",
"autoUpload": true,
"autoDelete": false,

12
.vscode/sftp.json vendored Normal file
View File

@@ -0,0 +1,12 @@
{
"name": "brpp.pl",
"host": "brpp.pl",
"protocol": "ftp",
"port": 21,
"username": "strona@brpp.pl",
"password": "nwQQzlTpxh2VC0l5rkwr",
"remotePath": "/brpp.pl/",
"uploadOnSave": false,
"useTempFile": false,
"openSsh": false
}

View File

@@ -20,16 +20,16 @@
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'host117523_brpp' );
define( 'DB_NAME', "00349672_prawopodatki" );
/** Database username */
define( 'DB_USER', 'host117523_brpp' );
define( 'DB_USER', "00349672_prawopodatki" );
/** Database password */
define( 'DB_PASSWORD', 'fUF8gjYE46t2zWjafdq3' );
define( 'DB_PASSWORD', "Yx7aMRxrf2I7ItnMBBDQ" );
/** Database hostname */
define( 'DB_HOST', 'localhost' );
define( 'DB_HOST', "mysql8" );
/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8mb4' );

View File

@@ -1,4 +1,5 @@
<?php
/**
* Page: Nasze usługi
*/
@@ -25,7 +26,7 @@
<div class="box-text">
<p><?php echo esc_html($box1['text']); ?></p>
</div>
<?php if($box1['btn']['title'] !== '') : ?>
<?php if ( isset( $box1['btn']['title'] ) and $box1['btn']['title'] !== '') : ?>
<a class="btn_3" href="<?php echo esc_url($box1['btn']['url']); ?>" target="<?php echo esc_attr($box1['btn']['target'] ?: '_self'); ?>">
<?php echo esc_html($box1['btn']['title']); ?>
</a>