static function switch_to($ver) { io::file_put_contents(SC_ROOT . '/' . 'sitecake.php', "<?php include 'sitecake/{$ver}/server/admin.php';"); }
static function save_pages($newPages) { array_walk($newPages, function ($page) { io::file_put_contents($page['path'], $page['html']); }); }