implemented buildURL() function (and fixed redirecting on https page)

added comments block (file description) in each PHP file
This commit is contained in:
2015-02-15 14:33:02 +01:00
parent 79034dd314
commit a542813c8f
21 changed files with 234 additions and 130 deletions

View File

@@ -1,4 +1,12 @@
<?php
/**
* @package uForum2
* @file index.php
* @copyright 2007-2015 (c) PioDer <piotrek@pioder.pl>
* @link http://www.pioder.pl/
* @license see LICENSE.txt
**/
$_GET['mode'] = (isset($_GET['mode'])) ? trim(strip_tags($_GET['mode'])) : '';
$_GET['submode'] = (isset($_GET['submode'])) ? trim(strip_tags($_GET['submode'])) : '';
@@ -7,6 +15,7 @@ require_once('./config.php');
require_once('./inc/constants.php');
require_once('./inc/database_connection.php');
require_once('./inc/bbcode.php');
require_once('./inc/misc_functions.php');
try
{
switch ($_GET['mode'])