mirror of
https://gh.wpcy.net/https://github.com/YahnisElsts/plugin-update-checker.git
synced 2026-04-29 11:12:17 +08:00
See #300. Apparently, when using the `files` autoloading mechanism, Composer will only include the files for one version of the library (i.e. the first one loaded). Let's see if we can fix that by switching to a `psr-0` autoloader. This requires a bunch of changes to the standalone autoloader and the factory registration process.
14 lines
361 B
PHP
14 lines
361 B
PHP
<?php
|
|
/**
|
|
* Plugin Update Checker Library 4.7
|
|
* http://w-shadow.com/
|
|
*
|
|
* Copyright 2019 Janis Elsts
|
|
* Released under the MIT license. See license.txt for details.
|
|
*/
|
|
|
|
require dirname(__FILE__) . '/Puc/v4p7/Autoloader.php';
|
|
new Puc_v4p7_Autoloader();
|
|
|
|
require dirname(__FILE__) . '/Puc/v4p7/Factory.php';
|
|
require dirname(__FILE__) . '/Puc/v4/Factory.php';
|