update script for 0.20.0a-rc2
This commit is contained in:
parent
ad8c9a1580
commit
8187868edd
19
_crispage/scripts/update_0.20.0a-rc2.php
Normal file
19
_crispage/scripts/update_0.20.0a-rc2.php
Normal 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");
|
||||
?>
|
Loading…
Reference in New Issue
Block a user