-
Notifications
You must be signed in to change notification settings - Fork 430
/
error.php
59 lines (52 loc) · 2.28 KB
/
error.php
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/*********************************************************************************
* This file is part of Sentrifugo.
* Copyright (C) 2014 Sapplica
*
* Sentrifugo is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Sentrifugo is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Sentrifugo. If not, see <http://www.gnu.org/licenses/>.
*
* Sentrifugo Support <[email protected]>
********************************************************************************/
require_once 'application/modules/default/library/sapp/Global.php';
if(!empty($_GET))
{
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Sentrifugo</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="shortcut icon" href="public/media/images/favicon.ico" />
<link href="public/media/css/successstyle.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Lato:400,700,400italic,300,300italic,100italic,100,700italic,900,900italic' rel='stylesheet' type='text/css'>
</head>
<body>
<div class="container" >
<div class="header"> <div class="logo"></div></div>
<div class="content_wrapper" style="min-height:91px;">
<?php if(sapp_Global::_decrypt($_GET['param']) == 'error'){?>
<div class="error_mess">Installation failed,please re-install again.</div>
<?php }else if(sapp_Global::_decrypt($_GET['param']) == 'db'){?>
<div class="error_mess">Database error occurred.Please reinstall the system to proceed.</div>
<?php }else if(sapp_Global::_decrypt($_GET['param']) == 'tbl'){?>
<div class="error_mess">Please install database first to proceed.</div>
<?php }?>
</div>
</div>
</body>
</html>
<?php }else{
header("Location: index.php");
}?>