Explorar o código

Fix SSL problem with wordpress

Mariusz Muszyński %!s(int64=10) %!d(string=hai) anos
pai
achega
6c69b2b04b
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      SE/superedit-INSTALL_SES_PROCESY_A.php

+ 5 - 0
SE/superedit-INSTALL_SES_PROCESY_A.php

@@ -863,6 +863,11 @@ define(\'LOGGED_IN_SALT\',   \''.md5($REMOTE_FOLDER_ROOT.$ADMIN_USERNAME_PASSWD.
 define(\'NONCE_SALT\',       \''.md5($REMOTE_FOLDER_ROOT.$ADMIN_USERNAME_PASSWD."7").'\');
 
 
+/* Rozwiązanie problemu z działaniem po https by Piter & Bzyk
+ * Więcej informacji na stronie http://codex.wordpress.org/Administration_Over_SSL
+ */
+if (strpos($_SERVER[\'HTTP_X_FORWARDED_PROTO\'], \'https\') !== false) $_SERVER[\'HTTPS\']=\'on\';
+
 
 /**
  * WordPress Database Table prefix.