-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
31 lines (28 loc) · 968 Bytes
/
index.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
<?php
declare(strict_types=1);
/**
* The application bootstrap file
*
* This file is the main entry point for the application
* All url requests to the application are handled by this file
*
* @link http://www.pakjiddat.pk
* @package Framework
*
* Description: Pak Php Framework
* Version: 2.0
* Author: Nadir Latif
* Author URI: http://www.pakjiddat.pk
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: pakphp
*/
namespace Framework;
/** The autoload.php file is included */
require ("autoload.php");
/** The application parameters */
$parameters = (isset($argc)) ? $argv : $_REQUEST;
/** The application request is handled */
$output = \Framework\Application\Application::RunApplication($parameters);
/** If the output is not suppressed then the application output is echoed back */
if (!defined("NO_OUTPUT")) echo $output;