1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

[ticket/11924] Reduce unneccessary load

PHPBB3-11924
This commit is contained in:
Joas Schilling 2013-10-16 00:48:51 +02:00
parent fa5fdc53b6
commit a03965554e

View File

@ -1,17 +1,13 @@
<?php <?php
/** /**
* *
* @copyright (c) 2012 phpBB Group * @copyright (c) 2013 phpBB Group
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
* *
*/ */
define('IN_PHPBB', 1);
define('ANONYMOUS', 1);
$phpEx = substr(strrchr(__FILE__, '.'), 1); $phpEx = substr(strrchr(__FILE__, '.'), 1);
$phpbb_root_path = __DIR__.'/../'; $phpbb_root_path = __DIR__ . '/../';
include($phpbb_root_path . 'common.'.$phpEx);
function usage() function usage()
{ {