<?php
// Clear PHP opcode cache
if (function_exists('opcache_reset')) {
    opcache_reset();
    echo "OPcache cleared!<br>";
}

if (function_exists('apc_clear_cache')) {
    apc_clear_cache();
    echo "APC cache cleared!<br>";
}

echo "Cache clearing attempted. Please try again.<br>";
echo "<a href='controller/new_subcategory.php'>Go to Add Subcategory</a>";
?>
