Make sure that the UPDATE.php doesn't work if not renamed

This commit is contained in:
Hannes Verschore 2015-11-12 01:37:26 -08:00
Родитель 4181a75da0
Коммит 544284603a
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -3,6 +3,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
if (strpos(__FILE__, "UPDATE.php") !== false)
die("Please rename this file to something more unknown.");
require_once("internals.php");
init_database();