overrideCoreByPackage no longer functions in 8.2

Permalink
So what's the way to achieve what this did, then?

Was doing this to help prevent user from inadvertently accessing functions they could destroy their C5 site with:
// override dash RHS panel
        $objEnv = Environment::get();
        $objEnv->overrideCoreByPackage('elements/panels/dashboard.php', $this);
        $objEnv->overrideCoreByPackage('views/panels/add.php', $this);

surefyre
View Replies: