You can use the following by editing the .user.ini file in the root folder (instead of .htaccess) ; Include a PHP file on every request auto_prepend_file="/home/dotcomwo/public_html/includes/config.inc.php"