View sourcecode

The following files exists in this folder. Click to view.

db_reset.php

10 lines UTF-8 Unix (LF)
1
2
3
4
5
6
7
8
9
10
<?php
include('checkLogin.php');
include(
"dbConn.php");

$sql file_get_contents('db_reset.sql');
$pdo->exec($sql);

header('location: admin.php?mess=Databasen återställd!');
?>