<?php
/**
 * Plugin Update Checker Compatibility
 *
 * This file provides compatibility fixes for the Plugin Update Checker library
 * without modifying the vendor code directly.
 *
 * @package DACdbPlus
 * @since 3.2.11
 */

// Don't allow direct access
if (!defined('ABSPATH')) {
    exit;
}

// Only define the class if it doesn't already exist
if (!class_exists('PucReadmeParser', false)) {
    /**
     * Check if the PucReadmeParser.php file exists in the vendor directory
     * and include it if available
     */
    $parser_file = dirname(dirname(__FILE__)) . '/plugin-update-checker/vendor/PucReadmeParser.php';
    
    if (file_exists($parser_file)) {
        require_once $parser_file;
    }
} 