<?php

use Mtc\Cms\Models\PageCache;
use Mtc\Cms\Models\TreeCache;

chdir(dirname(__FILE__));

$cms_root_path = "../../../";
require_once($cms_root_path."includes/compatibility_includer.php");

PageCache::query()
    ->truncate();
echo "Success deleting page cache!<br/>";

TreeCache::query()
    ->truncate();
echo "Success deleting nav cache!<br/>";