%h%ar%s'"); ?>

Update

Update App
Update Database

Latest version

Commit When Description
$tmp_path/current-structure.sql"); // Get the new structure from db.sql exec("egrep -v 'MariaDB dump|Host:|Server version|Dump completed' db.sql > $tmp_path/new-structure.sql"); // Compare exec("diff $tmp_path/current-structure.sql $tmp_path/new-structure.sql > $tmp_path/diff.txt"); $diff = file_get_contents("$tmp_path/diff.txt"); // Display, if there is a difference if(!empty($diff)){ echo "

Diff between your database structure and db.sql

"; echo "
$diff
"; } } ?>