OpenSencillo
2015.009
Long live the simplicity of PHP
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
All
Data Structures
Namespaces
Files
Functions
Pages
D:/DATA/GIT/GH/OpenSencillo/index.php
1
<?php
2
/*~ index.php
3
.---------------------------------------------------------------------------.
4
| Software: OpenSencillo Index |
5
| Version: 2015.109 |
6
| Contact:
[email protected]
|
7
| ------------------------------------------------------------------------- |
8
| Author: Bc. Peter Horváth (original founder) |
9
| Copyright (c) 2015, Bc. Peter Horváth. All Rights Reserved. |
10
| ------------------------------------------------------------------------- |
11
| License: Distributed under the General Public License (GPL) |
12
| http://www.gnu.org/licenses/gpl-3.0.html |
13
| This program is distributed in the hope that it will be useful - WITHOUT |
14
| ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
15
| FITNESS FOR A PARTICULAR PURPOSE. |
16
'---------------------------------------------------------------------------'
17
~*/
18
if
(file_exists(
'yourcode.php'
))
19
{
20
session_start();
21
require(__DIR__ .
'/basicstrap.php'
);
22
require(__DIR__ .
'/yourcode.php'
);
23
}
24
else
25
{
26
header(
'Location: http://'
.$_SERVER[
'SERVER_NAME'
].$_SERVER[
'REQUEST_URI'
].
'fw_core/core_installer.php'
);
27
}
28
?>
index.php
Generated on Mon Apr 11 2016 20:51:44 for OpenSencillo by
1.8.3