add update scripts
This commit is contained in:
parent
b923741398
commit
83857c7268
22
_crispage/scripts/update_0.20.0a-rc3.php
Normal file
22
_crispage/scripts/update_0.20.0a-rc3.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?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");
|
||||
|
||||
$this->app->assets->createTable("\\Crispage\\Assets\\Redirect");
|
||||
|
||||
?>
|
1
_crispage/scripts/update_0.20.0a.php
Normal file
1
_crispage/scripts/update_0.20.0a.php
Normal file
@ -0,0 +1 @@
|
||||
<?php require "./update_0.20.0a-rc3.php"; ?>
|
Loading…
Reference in New Issue
Block a user