This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generate logged in/logged out status | |
if ($user->data['user_id'] != ANONYMOUS) | |
{ | |
$logout_redirect = false; | |
if ($user->page['page_name'] == 'viewtopic.php' || $user->page['page_name'] == 'viewforum.php') | |
{ | |
$logout_redirect = true; | |
} | |
$u_login_logout = append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=logout' . ($logout_redirect) ? '&redirect=' . urlencode($phpbb_root_path . $user->page['page']) : '', true, $user->session_id); | |
$l_login_logout = sprintf($user->lang['LOGOUT_USER'], $user->data['username']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* @package phpBB3 | |
* @version $Id$ | |
* @copyright (c) 2005 phpBB Group | |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* ucp [English] | |
* | |
* @package language | |
* @version $Id$ | |
* @copyright (c) 2005 phpBB Group | |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2014 Oliver Schramm | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: | |
* | |
* The above copyright notice and this permission notice shall be included in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* @package testing | |
* @copyright (c) 2014 phpBB Group | |
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 | |
* | |
*/ | |
require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1986,8 +1986,8 @@ function tracking_unserialize($string, $max_depth = 3) | |
*/ | |
function append_sid($url, $params = false, $is_amp = true, $session_id = false) | |
{ | |
- global $_SID, $_EXTRA_URL, $phpbb_hook, $phpbb_path_helper; | |
- global $phpbb_dispatcher; | |
+ global $_SID, $_EXTRA_URL, $db, $phpbb_hook, $phpbb_path_helper; | |
+ global $phpbb_dispatcher, $phpEx, $request, $user; | |
if ($params === '' || (is_array($params) && empty($params))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The file "services.yml" does not exist (in: ).' in C:\xampp\htdocs\phpBB3\vendor\symfony\config\Symfony\Component\Config\FileLocator.php:72 Stack trace: #0 C:\xampp\htdocs\phpBB3\vendor\symfony\dependency-injection\Symfony\Component\DependencyInjection\Loader\YamlFileLoader.php(42): Symfony\Component\Config\FileLocator->locate('services.yml') #1 C:\xampp\htdocs\phpBB3\phpbb\di\extension\core.php(49): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('services.yml') #2 C:\xampp\htdocs\phpBB3\vendor\symfony\dependency-injection\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass.php(50): phpbb\di\extension\core->load(Array, Object(Symfony\Component\DependencyInjection\ContainerBuilder)) #3 C:\xampp\htdocs\phpBB3\vendor\symfony\dependency-injection\Symfony\Component\DependencyInjection\Compiler\Compiler.php(119): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->proces |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Cleans a search string by removing single wildcards from it and replacing multiple spaces with a single one. | |
* | |
* @param string $search_string The full search string which should be cleaned. | |
* | |
* @return string The cleaned search string without any wildcards and multiple spaces. | |
*/ | |
function phpbb_clean_search_string($search_string) | |
{ | |
// This regular expressions matches every single wildcard. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* @package phpBB3 | |
* @copyright (c) 2014 phpBB Group | |
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 | |
* | |
*/ | |
namespace phpbb; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* @package Support Toolkit - Fix Left/Right ID's | |
* @version $Id$ | |
* @copyright (c) 2009 phpBB Group | |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License | |
* | |
*/ |
OlderNewer