Select Git revision
InitCompat.php
-
Bartek Jaskulski authored
Take a step back and revisit some ideas by removing previous code. Get rid of container caching, support for bundles and plugin environment data. Focus on bringing working alpha version, with missing features to be rolled out closer to stable representation. Signed-off-by:
Bart Jaskulski <bjaskulski@protonmail.com>
Bartek Jaskulski authoredTake a step back and revisit some ideas by removing previous code. Get rid of container caching, support for bundles and plugin environment data. Focus on bringing working alpha version, with missing features to be rolled out closer to stable representation. Signed-off-by:
Bart Jaskulski <bjaskulski@protonmail.com>
InitCompat.php 328 B
<?php
/**
* This file have to be compatible with PHP >=5.6 to gracefully handle outdated client's websites.
*/
namespace WPDesk\Init;
class InitCompat {
public static function from_config( $config_path ) {
require __DIR__ . '/platform_check.php';
$init = new PluginInit( $config_path );
return $init->init();
}
}