/ Published in: PHP

Example:
if (!isRewriteMod()) exit('Please install Apache mod_rewrite module.');
Expand |
Embed | Plain Text
/** * @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() { { $aMods = apache_get_modules(); } else { } return $bIsRewrite; }
You need to login to post a comment.