<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); display_paragraph("Creating and upgrading the history database."); display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); display_paragraph("Creating and upgrading the users database."); display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); display_paragraph("Creating and upgrading the confirmation database."); display_footer();
continue; } if ($fileInfo->isDir()) { $basename = $fileInfo->getFilename(); $filename = "{$folder}/{$basename}"; if (!is_writable($filename)) { $folders[] = $filename; } } } $writable = count($folders) == 0; if (count($folders) > 5) { $folders = array_slice($folders, 0, 5); $folders[] = "and so on ..."; } display_header($writable); if ($writable) { display_okay(); display_paragraph("Write access okay."); } else { $message = "Bibledit-Web needs write access to the following folders and the files in them:"; display_paragraph($message); foreach ($folders as $folder) { display_paragraph("<code>{$folder}</code>"); } display_paragraph("Provide write access, or ask your hosting provider to do that for you."); open_paragraph(); display_link("writable1.php", "Retry"); close_paragraph(); } display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); display_paragraph("Creating and upgrading the database for the Bible actions on a client."); display_footer();
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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; ob_start(); require_once "../database/sqlite.php"; require_once "../database/confirm.php"; $database_confirm = Database_Confirm::getInstance(); $database_confirm->create(); $okay = !ob_get_flush(); display_header($okay); if ($okay) { display_okay(); display_paragraph("Confirmation database okay."); } else { display_paragraph("Errors creating or upgrading the confirmation database"); open_paragraph(); display_link("confirm1.php", "Retry"); close_paragraph(); } display_footer();
the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; ob_start(); require_once "../database/sqlite.php"; require_once "../database/sqliteinjection.php"; require_once "../database/styles.php"; $database_styles = Database_Styles::getInstance(); $database_styles->create(); $okay = !ob_get_flush(); display_header($okay); if ($okay) { display_okay(); display_paragraph("Styles database okay."); } else { display_paragraph("Errors creating or upgrading the styles database"); open_paragraph(); display_link("styles1.php", "Retry"); close_paragraph(); } display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); display_paragraph("Creating and upgrading the modifications database."); display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); $username = get_current_user(); display_paragraph("Checking write access to the folders for user {$username}."); display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); display_paragraph("Creating and upgrading the database for the note actions."); display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); display_paragraph("Creating and upgrading the verse mappings database. Takes a while."); display_footer();
along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ ignore_user_abort(true); set_time_limit(0); include "utils.php"; ob_start(); require_once "../database/sqlite.php"; require_once "../database/sqliteinjection.php"; require_once "../filter/string.php"; require_once "../filter/books.php"; require_once "../filter/numeric.php"; require_once "../database/books.php"; require_once "../database/mappings.php"; $database_mappings = Database_Mappings::getInstance(); $database_mappings->create1(); $database_mappings->defaults(); $database_mappings->create2(); $database_mappings->optimize(); $okay = !ob_get_flush(); display_header($okay); if ($okay) { display_okay(); display_paragraph("Verse mappings database okay."); } else { display_paragraph("Errors creating or upgrading the verse mappings database."); open_paragraph(); display_link("mappings1.php", "Retry"); close_paragraph(); } display_footer();
the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; ob_start(); require_once "../database/sqlite.php"; require_once "../database/volatile.php"; @unlink("../databases/volatile.sqlite"); $database_volatile = Database_Volatile::getInstance(); $database_volatile->create(); $okay = !ob_get_flush(); display_header($okay); if ($okay) { display_okay(); display_paragraph("Volatile database okay."); } else { display_paragraph("Errors creating or upgrading the volatile database"); open_paragraph(); display_link("check1.php", "Retry"); close_paragraph(); } display_footer();
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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; ob_start(); require_once "../database/sqlite.php"; require_once "../database/commits.php"; $database_commits = Database_Commits::getInstance(); $database_commits->create(); $okay = !ob_get_flush(); display_header($okay); if ($okay) { display_okay(); display_paragraph("Commits database okay."); } else { display_paragraph("Errors creating or upgrading the commits database"); open_paragraph(); display_link("commits1.php", "Retry"); close_paragraph(); } display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); display_paragraph("Creating and upgrading the volatile database."); display_footer();
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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; require_once "../database/sqlite.php"; require_once "../database/mail.php"; ob_start(); $database_mail = Database_Mail::getInstance(); $database_mail->create(); $okay = !ob_get_flush(); display_header($okay); if ($okay) { display_okay(); display_paragraph("Mail database okay."); } else { display_paragraph("Errors creating or upgrading the mail database"); open_paragraph(); display_link("mail1.php", "Retry"); close_paragraph(); } display_footer();
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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; ob_start(); require_once "../database/sqlite.php"; require_once "../database/search.php"; $database_search = Database_Search::getInstance(); $database_search->create(); $okay = !ob_get_flush(); display_header($okay); if ($okay) { display_okay(); display_paragraph("Search database okay."); } else { display_paragraph("Errors creating or upgrading the search database"); open_paragraph(); display_link("commits1.php", "Retry"); close_paragraph(); } display_footer();
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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; ob_start(); require_once "../database/sqlite.php"; require_once "../database/noteactions.php"; $database_noteactions = Database_NoteActions::getInstance(); $database_noteactions->create(); $okay = !ob_get_flush(); display_header($okay); if ($okay) { display_okay(); display_paragraph("Note actions database okay."); } else { display_paragraph("Errors creating or upgrading the note actions database"); open_paragraph(); display_link("noteactions1.php", "Retry"); close_paragraph(); } display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); display_paragraph("Creating and upgrading the journal database."); display_footer();
Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 5, 14);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 6, 17);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 7, 17);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 8, 13);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 9, 21);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 10, 11);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 11, 19);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 12, 18);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 13, 18);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 14, 20);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 15, 8);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 16, 21);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 17, 18);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 18, 24);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 19, 21);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 20, 15);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 21, 27);"); Database_SQLite::exec($database_versifications->db, "INSERT INTO data (system, book, chapter, verse) VALUES (10, 66, 22, 21);"); Database_SQLite::exec($database_versifications->db, "COMMIT;"); $okay = !ob_get_flush(); display_header($okay); if ($okay) { display_okay(); display_paragraph("Versifications database okay."); } else { display_paragraph("Errors creating or upgrading the versifications database"); open_paragraph(); display_link("versifications1.php", "Retry"); close_paragraph(); } display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_okay(); display_paragraph("The following databases will be created after the installation has completed successfully:"); display_paragraph("* Strong's numbers and English glosses."); display_paragraph("* Open Scriptures Morphology of the Hebrew Bible."); display_paragraph("* Open Scriptures Morphology of the Hebrew Bible."); display_paragraph("* The Greek New Testament: SBL Edition."); display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(false); display_paragraph("Welcome to the Bibledit-Web installation."); open_paragraph(); display_link("step.php", "Go!"); close_paragraph(); display_footer();
the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; ob_start(); require_once "../database/sqlite.php"; require_once "../database/sqliteinjection.php"; require_once "../database/sprint.php"; $database_sprint = Database_Sprint::getInstance(); $database_sprint->create(); $okay = !ob_get_flush(); display_header($okay); if ($okay) { display_okay(); display_paragraph("Sprint database okay."); } else { display_paragraph("Errors creating or upgrading the sprint database"); open_paragraph(); display_link("check1.php", "Retry"); close_paragraph(); } display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); display_paragraph("Flagging databases to be created later."); display_footer(); file_put_contents("../config/databases", "");
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); display_paragraph("Creating and upgrading the mail database."); display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); display_paragraph("Creating and upgrading the sprint database."); display_footer();
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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; ob_start(); require_once "../database/sqlite.php"; require_once "../database/navigation.php"; $database_navigation = Database_Navigation::getInstance(); $database_navigation->create(); $okay = !ob_get_flush(); display_header($okay); if ($okay) { display_okay(); display_paragraph("Navigation database okay."); } else { display_paragraph("Errors creating or upgrading the navigation database"); open_paragraph(); display_link("navigation1.php", "Retry"); close_paragraph(); } display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); display_paragraph("Creating and upgrading the search database."); display_footer();
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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; ob_start(); require_once "../database/sqlite.php"; require_once "../database/history.php"; $database_history = Database_History::getInstance(); $database_history->create(); $okay = !ob_get_flush(); display_header($okay); if ($okay) { display_okay(); display_paragraph("History database okay."); } else { display_paragraph("Errors creating or upgrading the history database"); open_paragraph(); display_link("history1.php", "Retry"); close_paragraph(); } display_footer();
<?php /* Copyright (©) 2003-2014 Teus Benschop. This program 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include "utils.php"; display_header(true); display_active(); display_paragraph("Creating and upgrading the commits database."); display_footer();