blob: 3437c34c46adf0dc80de41833d9d8f3afc9da575 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?php
include_once '../../function.php';
include_once 'classes/class.DisplayCheck.php';
include_once 'classes/class.DisplaySettings.php';
include_once 'classes/class.ImportDB.php';
include_once 'classes/class.DisplayDatabase.php';
// Poslana zahteva za izbris
if($_GET['a'] == 'submit_settings'){
$ds = new DisplaySettings();
$ds->ajaxSubmitSettings();
}
// Izvedemo uvoz celotne baze
if($_GET['a'] == 'import_database'){
$db = new ImportDB();
$db->executeImport();
}
// Izvedemo posodobitev baze
if($_GET['a'] == 'update_database'){
$db = new ImportDB();
$db->executeUpdate();
}
|