This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Add MiddleWare to fix URL Rewrites | |
| * Prevent Duplicate Route Access for | |
| * ^/indexfile.php/main === ^/main | |
| * Slim variable is from context object of | |
| * ----------------------------------- | |
| * $slim = new \Slim\App(); | |
| * ----------------------------- | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Entities the Multibytes string | |
| * Iconv must be enable to use this function work properly | |
| * | |
| * @param string $string the string to detect multibytes | |
| * @param boolean $entities true if want to entity the output | |
| * @return string | |
| */ | |
| function multibyteEntities($string, $entities = true) |
NewerOlder