PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.7.0
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.7.0
2.11.0 2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 All 78 releases
fluent-community / vendor / wpfluent / framework / src / WPFluent / Support / mbstring-loader.php

mbstring-loader.php in FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses 2.7.0, at vendor/wpfluent/framework/src/WPFluent/Support/mbstring-loader.php

21 lines 728 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Autoload shim for the optional mbstring polyfill.
5 *
6 * The entire polyfill (the Mbstring class, the global mb_* wrappers, and the
7 * Unicode case tables) lives in the self-contained Support/MBString/ folder.
8 * This shim is the single composer "files" autoload entry that activates it.
9 *
10 * To drop mbstring fallback support: delete the Support/MBString/ folder. This
11 * shim then silently does nothing (the guard below fails), so nothing breaks
12 * at autoload time and no composer.json change is required. The mb_* calls in
13 * the framework continue to use the native extension where it is available.
14 */
15
16 $polyfill = __DIR__ . '/MBString/polyfill.php';
17
18 if (is_file($polyfill)) {
19 require_once $polyfill;
20 }
21