<?php
// Simple test file to check clear_data functionality
echo "Testing clear_data access...\n";

// Set up basic path
define('BASEPATH', true);
$_SERVER['REQUEST_METHOD'] = 'POST';

// Test if we can include the controller
try {
    // Include CodeIgniter framework
    require_once('./index.php');
    echo "CodeIgniter loaded successfully\n";
} catch (Exception $e) {
    echo "Error loading CodeIgniter: " . $e->getMessage() . "\n";
}
?>
