1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-12 08:04:05 +02:00

refactor(bootstrap): code typo update

This commit is contained in:
Awilum
2020-07-20 21:03:15 +03:00
parent 73ba64079d
commit 2b3a2d0d79

View File

@@ -17,8 +17,8 @@ use Slim\App;
use Zeuxisoo\Whoops\Provider\Slim\WhoopsMiddleware;
use function array_replace_recursive;
use function date_default_timezone_set;
use function define;
use function error_reporting;
use function file_exists;
use function function_exists;
use function mb_internal_encoding;
use function mb_language;
@@ -170,9 +170,11 @@ $shortcodes_extensions = $flextype['registry']->get('flextype.settings.shortcode
foreach ($shortcodes_extensions as $shortcodes_extension) {
$shortcodes_extension_file_path = ROOT_DIR . '/src/flextype/Foundation/Parsers/shortcodes/' . $shortcodes_extension . 'ShortcodeExtension.php';
if (file_exists($shortcodes_extension_file_path)) {
include_once $shortcodes_extension_file_path;
if (! file_exists($shortcodes_extension_file_path)) {
continue;
}
include_once $shortcodes_extension_file_path;
}
/**