role()!=='admin') { Alert::set($Language->g('you-do-not-have-sufficient-permissions')); Redirect::page('dashboard'); } // ============================================================================ // Functions // ============================================================================ // ============================================================================ // Main after POST // ============================================================================ // ============================================================================ // POST Method // ============================================================================ if( $_SERVER['REQUEST_METHOD'] == 'POST' ) { $Site->set($_POST); } // ============================================================================ // Main after POST // ============================================================================