Yea but where I add the page so will be redirect to the o nthe construction page
if (version_compare(phpversion(), "5.2", ">") == 1) {
$aErrors[] = (ini_get('allow_url_include') == 0) ? '' : '<f alt="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';
};
$aErrors = array_diff($aErrors, array('')); //delete empty
if (count($aErrors)) {
$sErrors = implode(" <br /> ", $aErrors);
echo <<<EOF
{$sErrors} <br />
Please go to the <br />
<a href="http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter">Dolphin Troubleshooter</a> <br />
and solve the problem.
EOF;
exit;
}
}
I got it bro so how I can make to read my underconstruction page
Thank's
I believe it's the header.inc.php file under the ./inc/ directory.
Just set a redirect in the .htaccess file to the under construction page (or edit the header.inc.php file and set the domain information to point to the under construction page (he he)).
Just create the under construction page (simple HTML is all that's needed) and make a redirect in the .htaccess file at the top, or make that little edit to the header.inc.php file I mentioned (which may or may not work). I'm not sure what'd you need to do to have the script display something in lue of that message besides editing it directly.
Edit: Ah, yes, you want it to display in the event this happens, not because of any maintenance work happening right now. I'm not sure what code you'd need to add, but you can just change that text at the top to something like "we are under maintenance, etc." and replace the link with "we will be back shortly."
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin