Skip to content
Snippets Groups Projects
Select Git revision
  • b6d626a450fe6c89b863e3e9f2de1ba9b7a26c81
  • main default protected
  • v0.10
  • 0.10.6
  • 0.10.5
  • 0.10.4
  • 0.10.3
  • 0.10.2
  • 0.10.1
  • 0.10.0
  • 0.9.1
  • 0.9.0
12 results

InitCompat.php

Blame
  • 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();
    	}
    
    }