Code was added to index.php. Here is the code added. I left the top two lines in because help says to place this after //version.
Code: Select all
<?php
// Version
define('VERSION', '1.5.6.4');
// Cloudflare CDN
if ($_SERVER["HTTP_CF_CONNECTING_IP"]) {
$_SERVER["REMOTE_ADDR"] = $_SERVER["HTTP_CF_CONNECTING_IP"];
}
Code: Select all
[10-Oct-2021 20:31:15 UTC] PHP Notice: Undefined index: HTTP_CF_CONNECTING_IP in /hostpath/public_html/index.php on line 4