voku\helper\Bootup::initAll PHP Method

initAll() public static method

bootstrap
public static initAll ( )
    public static function initAll()
    {
        ini_set('default_charset', 'UTF-8');
        // everything is init via composer, so we are done here ...
    }

Usage Example

Esempio n. 1
0
File: UTF8.php Progetto: hhgr/hhgolf
 /**
  * check for UTF8-Support
  */
 public static function checkForSupport()
 {
     if (!isset(self::$support['mbstring'])) {
         self::$support['mbstring'] = self::mbstring_loaded();
         self::$support['iconv'] = self::iconv_loaded();
         self::$support['intl'] = self::intl_loaded();
         self::$support['pcre_utf8'] = self::pcre_utf8_support();
         Bootup::initAll();
         // Enables the portablity layer and configures PHP for UTF-8
         Bootup::filterRequestUri();
         // Redirects to an UTF-8 encoded URL if it's not already the case
         Bootup::filterRequestInputs();
         // Normalizes HTTP inputs to UTF-8 NFC
     }
 }
All Usage Examples Of voku\helper\Bootup::initAll