update script for 0.20.0a-rc2

This commit is contained in:
crispycat 2023-09-24 17:03:38 -04:00
parent ad8c9a1580
commit 8187868edd

View File

@ -0,0 +1,19 @@
<?php
/*
Crispage CMS
crispycat <the@crispy.cat>
https://crispy.cat/software/crispage
Crispage is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
*/
$this->runScript(PACKAGE, "copy_files");
if ($this->status != $this::SUCCESS) throw new \Exception("Could not copy files");
$this->runScript(PACKAGE, "update_database");
if ($this->status != $this::SUCCESS) throw new \Exception("Could not update database");
//$this->runScript(PACKAGE, "update_config");
//if ($this->status != $this::SUCCESS) throw new \Exception("Could not update config");
?>