Files
gallery3/installer/views/db_not_empty.html.php
Bharat Mediratta 7008bfb5c3 Warn the user if they're attemping to reinstall into a database that
already has Gallery 3 tables.  Otherwise, permit it to continue.

We key this off of the existence of the g3_items table.  Theoretically
it's possible that the g3_items table is gone but other tables are
still there, which could mess things up.  I'm not going to worry about
that for now.

Fixes ticket #175
2009-05-13 00:32:19 +00:00

9 lines
341 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<h1> Uh oh! </h1>
<p class="error">
The database you provided already has Gallery 3 tables in it.
Continuing with the install would overwrite your existing install.
Please either use a different database, delete the old tables,
or choose a different table prefix.
</p>