/ Published in: PHP
*Example:*
if (!isRewriteMod()) exit('Please install Apache mod_rewrite module.');
if (!isRewriteMod()) exit('Please install Apache mod_rewrite module.');
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * @title Check if Apache's mod_rewrite is installed. * * @author Pierre-Henry Soria <[email protected]> * @copyright (c) 2013, Pierre-Henry Soria. All Rights Reserved. * @return boolean */ function isRewriteMod() { { } else { } return $bIsRewrite; }