Sacconi69

config

Jun 14th, 2024
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.26 KB | None | 0 0
  1. <?php
  2.  
  3. //Begin Really Simple SSL session cookie settings
  4. @ini_set('session.cookie_httponly', true);
  5. @ini_set('session.cookie_secure', true);
  6. @ini_set('session.use_only_cookies', true);
  7. //END Really Simple SSL cookie settings
  8.  
  9.  
  10. //Begin Really Simple SSL Load balancing fix
  11. define('WP_CACHE', true);
  12. define( 'WPCACHEHOME', '/home/sccncstst/domains/test.sacconicase.com/public_html/wp-content/plugins/wp-super-cache/' );
  13. define( 'WPCACHEHOME', '/home/sccncstst/domains/test.sacconicase.com/public_html/wp-content/plugins/wp-super-cache/' );
  14. if ((isset($_ENV["HTTPS"]) && ("on" == $_ENV["HTTPS"]))
  15. || (isset($_SERVER["HTTP_X_FORWARDED_SSL"]) && (strpos($_SERVER["HTTP_X_FORWARDED_SSL"], "1") !== false))
  16. || (isset($_SERVER["HTTP_X_FORWARDED_SSL"]) && (strpos($_SERVER["HTTP_X_FORWARDED_SSL"], "on") !== false))
  17. || (isset($_SERVER["HTTP_CF_VISITOR"]) && (strpos($_SERVER["HTTP_CF_VISITOR"], "https") !== false))
  18. || (isset($_SERVER["HTTP_CLOUDFRONT_FORWARDED_PROTO"]) && (strpos($_SERVER["HTTP_CLOUDFRONT_FORWARDED_PROTO"], "https") !== false))
  19. || (isset($_SERVER["HTTP_X_FORWARDED_PROTO"]) && (strpos($_SERVER["HTTP_X_FORWARDED_PROTO"], "https") !== false))
  20. || (isset($_SERVER["HTTP_X_PROTO"]) && (strpos($_SERVER["HTTP_X_PROTO"], "SSL") !== false))
  21. ) {
  22. $_SERVER["HTTPS"] = "on";
  23. }
  24. //END Really Simple SSL
  25.  
  26.  
  27. /**
  28.  
  29. * Il file base di configurazione di WordPress.
  30.  
  31. *
  32.  
  33. * Questo file definisce le seguenti configurazioni: impostazioni MySQL,
  34.  
  35. * Prefisso Tabella, Chiavi Segrete, Lingua di WordPress e ABSPATH.
  36.  
  37. * E' possibile trovare ultetriori informazioni visitando la pagina: del
  38.  
  39. * Codex {@link http://codex.wordpress.org/Editing_wp-config.php
  40.  
  41. * Editing wp-config.php}. E' possibile ottenere le impostazioni per
  42.  
  43. * MySQL dal proprio fornitore di hosting.
  44.  
  45. *
  46.  
  47. * Questo file viene utilizzato, durante l'installazione, dallo script
  48.  
  49. * di creazione di wp-config.php. Non и necessario utilizzarlo solo via
  50.  
  51. * web,и anche possibile copiare questo file in "wp-config.php" e
  52.  
  53. * rimepire i valori corretti.
  54.  
  55. *
  56.  
  57. * @package WordPress
  58.  
  59. */
  60.  
  61.  
  62. // ** Impostazioni MySQL - E? possibile ottenere questoe informazioni
  63.  
  64. // ** dal proprio fornitore di hosting ** //
  65.  
  66. /** Il nome del database di WordPress */
  67.  
  68. define('DB_NAME', 'sccncstst_test');
  69.  
  70.  
  71. /** Nome utente del database MySQL */
  72.  
  73. define('DB_USER', 'sccncstst_test');
  74.  
  75.  
  76. /** Password del database MySQL */
  77.  
  78. define('DB_PASSWORD', 'gqjjs3yExsEC4CKDc6J6');
  79.  
  80.  
  81. /** Hostname MySQL */
  82.  
  83. define('DB_HOST', 'localhost');
  84.  
  85.  
  86. /** Charset del Database da utilizare nella creazione delle tabelle. */
  87.  
  88. define('DB_CHARSET', 'utf8');
  89.  
  90.  
  91. /** Il tipo di Collazione del Database. Da non modificare se non si ha
  92.  
  93. idea di cosa sia. */
  94.  
  95. define('DB_COLLATE', '');
  96.  
  97.  
  98. /**#@+
  99.  
  100. * Chiavi Univoche di Autenticazione e di Salatura.
  101.  
  102. *
  103.  
  104. * Modificarle con frasi univoche differenti!
  105.  
  106. * E' possibile generare tali chiavi utilizzando {@link https://api.wordpress.org/secret-key/1.1/salt/ servizio di chiavi-segrete di WordPress.org}
  107.  
  108. * E' possibile cambiare queste chiavi in qualsiasi momento, per invalidare tuttii cookie esistenti. Ciт forzerа tutti gli utenti ad effettuare nuovamente il login.
  109.  
  110. *
  111.  
  112. * @since 2.6.0
  113.  
  114. */
  115.  
  116. define('AUTH_KEY', 'YG~R-L<.7)NO@[+WZTd3(b5?.wBBY+c8OH?<Dt~CX~R?@3>+p$E/9_:+ah!]6nj ');
  117.  
  118. define('SECURE_AUTH_KEY', 'k#zHOweq5Hbd8|[e5{+]l~ec;`jp^0N=</E.TO5kNRp-,e@;?2Emj+-w.54Wa2-S');
  119.  
  120. define('LOGGED_IN_KEY', 'SL_(|.j=7 !$M-A|QLY(-3S.W)6|VjDs-v(PK*Y,B:5}B5wCQz:/v|xukK|U1A@x');
  121.  
  122. define('NONCE_KEY', ']wZ?;(mi;VX^UJ&-oyt`v.ceND&.sQEl`u>IEL/i`[V%Wr~s5@#d+[uZ^NQ]PG|8');
  123.  
  124. define('AUTH_SALT', 'dWYp4WyU|On]!>8:(>_G!@!y2PYQ|#Qx.E`*YwMFwMD-vx^wrhLQ6]ZyNLX+tLs^');
  125.  
  126. define('SECURE_AUTH_SALT', 'o6~qe0+(j6UF+b-!64W /w#-zVmA{]x-.i^d6ao?z#xSs6B+li9m~c1%a<mSS6RW');
  127.  
  128. define('LOGGED_IN_SALT', '`q]Q=O[5(<Z]8WEosMdY%P=jFV)KZ=Bt|+p}.{|)Mn_`Mp]bUzWyO5LLZRPweM]4');
  129.  
  130. define('NONCE_SALT', ',vfnVM/|.a@Nje`Nv<ehvl63)fL#/{+/Hkr/W[~p53stdhuXN{|j.xS-dZf[LJ^z');
  131.  
  132.  
  133. /**#@-*/
  134.  
  135.  
  136. /**
  137.  
  138. * Prefisso Tabella del Database WordPress .
  139.  
  140. *
  141.  
  142. * E' possibile avere installazioni multiple su di un unico database if you give each a unique
  143.  
  144. * fornendo a ciascuna installazione un prefisso univoco.
  145.  
  146. * Solo numeri, lettere e sottolineatura!
  147.  
  148. */
  149.  
  150. $table_prefix = 'wp_';
  151. define( 'WP_DEBUG', false );
  152. /**
  153.  
  154. * Per gli sviluppatori: modalitа di debug di WordPress.
  155.  
  156. *
  157.  
  158. * Modificare questa voce a TRUE per abilitare la visualizzazione degli avvisi
  159.  
  160. * durante lo sviluppo.
  161.  
  162. * E' fortemente raccomandato agli svilupaptori di temi e plugin di utilizare
  163.  
  164. * WP_DEBUG all'interno dei loro ambienti di sviluppo.
  165.  
  166. */
  167.  
  168. /* Finito, interrompere le modifiche! Buon blogging. */
  169.  
  170.  
  171. /** Path assoluto alla directory di WordPress. */
  172.  
  173. if ( !defined('ABSPATH') )
  174.  
  175. define('ABSPATH', dirname(__FILE__) . '/');
  176.  
  177.  
  178. /** Imposta lle variabili di WordPress ed include i file. */
  179.  
  180. require_once(ABSPATH . 'wp-settings.php');
  181.  
  182. //configurazione sottodominio in tedesco
  183.  
  184. define( 'WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST']);
  185.  
  186. define( 'WP_HOME', 'https://' . $_SERVER['HTTP_HOST']);
  187.  
  188. if ('de.' == substr( $_SERVER['HTTP_HOST'], 0, 3 )) {
  189. define ('WPLANG', 'de_DE');
  190. }
  191. if ('en.' == substr( $_SERVER['HTTP_HOST'], 0, 3 )) {
  192. define ('WPLANG', 'en_EN');
  193. }
  194.  
  195.  
Advertisement
Add Comment
Please, Sign In to add comment