-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinit_old.php
More file actions
67 lines (54 loc) · 3.82 KB
/
init_old.php
File metadata and controls
67 lines (54 loc) · 3.82 KB
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
<?php
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT - DO NOT REMOVE THIS NOTICE //
// //
// OPENTADKA FRAMEWORK //
// http://www.opentadka.org //
// //
// Copyright (C) 2010 onwards Manu Sharma http://www.opentadka.org //
// //
// STUDENT INFORMATION YARN (SIYA) //
// http://www.siya.org.in //
// //
// Copyright (C) 2012 onwards Manu Sharma http://www.siya.org.in //
// //
// OPENTADKA FRAMEWORK LICENSE : //
// This program 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 2 of the License, or //
// (at your option) any later version. //
// STUDENT INFORMATION YARN (SIYA) LICENSE : //
// This program 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. //
// //
// This program 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: //
// //
// http://www.gnu.org/copyleft/gpl.html //
// //
// OPENTADKA FRAMEWORK & STUDENT INFORMATION YARN (SIYA) //
// FOR LICENCESPLEASE REFER LICENCE PAGE //
// FOR MORE DETAILS //
// //
////////////////////////////////////////////////////////////////////////////
require_once("environment.php"); // To Be Changed after the creation of Install file
Environment::set_error_reporting();
Environment::set_seperator();
Environment::set_paths();
require_once('mainsystemconfig.php'); // Main System Config File
require_once('includes'._S.'db'._S.PROJ_DBTYPE.'.db.php'); // DB Connection File
require_once('functions'._S.'db'._S.PROJ_DBTYPE._S.'MainDB.php'); // Main DB Class and Functions
require_once('functions'._S.'db'._S.PROJ_DBTYPE._S.'MainSQL.php'); // Main SQL Formatter Class and Functions
require_once('functions'._S.'html'._S.'MainHTML.php'); // Main HTML Formatter Class and Functions
require_once('functions'._S.'system'._S.'MainSystem.php'); // Main System Functions
$DBConnection = mysqli_DBConnection::getDBInstance(); // Please edit the value of the DB type if you have different version other than mysqli
$DBConnectionObj = $DBConnection->getDBObj();
MainDB::initDBConnectionObj($DBConnectionObj);
require_once('includes'._S.'config.php'); // Config File
error_reporting(PROJ_ERROR_REPORTING_SWITCH);
Environment::set_time_zone();