Skip to content
hetongeluk.nl website
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
account
beheer
fonts
images
js
languages
overdezesite
scripts
.gitignore
.htaccess
LICENSE
ajax.php
config.php
database.php
index.php
initialize.php
main.css
readme.MD
templates.php
users.php
utils.php

readme.MD

hetongeluk.nl

A database for news reports about traffic crashes in the Netherlands.

Website: hetongeluk.nl

Requirements

  • Webserver with PHP support
  • MySQL/MariaDB with full text search support

Installation

  • Put all files on a webserver with PHP support.
  • Import de database on a MySQL/MariaDB server with full text search capability. The database creation script is located in beheer/createdatabase.sql
  • Read the config.php file. It tells you to create a configsecret.php file with your database connection info. Never check this one into git.
<?php

// Data we do *not* want the source code repository
define('DB_NAME',     '');
define('DB_USER',     '');
define('DB_PASSWORD', '');
define('DB_HOST',     '');
  • Register yourself as a user on the website. Make yourself an administrator in MySQL by setting the permission field to 1 in the users table.

License

This software is made available under the MIT license.

You can’t perform that action at this time.