This file contains hidden or 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
File: E:\phpBB-development\htdocs\phpBB-git\3.0\tests\functions\language_select_ | |
test.php | |
PHPUnit 3.7.19 by Sebastian Bergmann. | |
Configuration read from E:\phpBB-development\htdocs\phpBB-git\3.0\phpunit.xml.di | |
st | |
←[41;37mF←[0m←[41;37mF←[0m←[41;37mF←[0m←[41;37mF←[0m |
This file contains hidden or 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
Using worker: worker-linux-2-2.bb.travis-ci.org:travis-linux-20 | |
$ export DB=mysql | |
git.1 | |
$ git clone --depth=50 git://github.com/phpbb/phpbb3.git phpbb/phpbb3 | |
Cloning into 'phpbb/phpbb3'... | |
remote: Counting objects: 17594, done. |
This file contains hidden or 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
Using worker: worker-linux-2-2.bb.travis-ci.org:travis-linux-20 | |
$ export DB=mysql | |
git.1 | |
$ git clone --depth=50 git://github.com/phpbb/phpbb3.git phpbb/phpbb3 | |
Cloning into 'phpbb/phpbb3'... | |
remote: Counting objects: 17594, done. |
This file contains hidden or 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
var_dump($against_file_list); | |
var_dump($language_file_list); | |
var_dump(array_diff($against_file_list, $language_file_list)); |
This file contains hidden or 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
create a regex, which return: | |
{SITENAME} | |
{WELCOME_MSG} | |
{USERNAME} | |
{U_BOARD} | |
{EMAIL_SIG} | |
So basically, I want to know all template vars that are used in the email template |
This file contains hidden or 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
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php | |
index 05d3c5f..6484dcc 100644 | |
--- a/phpBB/includes/functions_content.php | |
+++ b/phpBB/includes/functions_content.php | |
@@ -813,7 +813,7 @@ function bbcode_nl2br($text) | |
*/ | |
function smiley_text($text, $force_option = false) | |
{ | |
- global $config, $user, $phpbb_root_path; | |
+ global $config, $user, $symfony_request, $phpbb_filesystem; |
This file contains hidden or 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
nickv@nickv-mint /var/www/develop $ phpBB/vendor/bin/phpunit | |
PHPUnit 3.7.24 by Sebastian Bergmann. | |
Configuration read from /var/www/develop/phpunit.xml.dist | |
............................................................. 61 / 2191 ( 2%) | |
......................I.....SSSS.......SSSS.................. 122 / 2191 ( 5%) | |
............................................................. 183 / 2191 ( 8%) | |
............................................................. 244 / 2191 ( 11%) | |
............................................................. 305 / 2191 ( 13%) |
This file contains hidden or 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
$asset_file = "../theme/newspage.css"; | |
$asset = new phpbb_template_asset($asset_file); | |
if (substr($asset_file, 0, 2) !== './' && $asset->is_relative()) { | |
$asset_path = $asset->get_path(); | |
$local_file = $this->getEnvironment()->get_web_root_path() . $asset_path; | |
// string(35) "./../../../../../theme/newspage.css" bool(true) | |
// Missing extension and template path | |
var_dump($local_file, !file_exists($local_file)); |
This file contains hidden or 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
default: | |
$this->connect(false); | |
try | |
{ | |
$this->pdo->exec('DROP DATABASE ' . $this->config['dbname']); | |
try | |
{ | |
$this->pdo->exec('CREATE DATABASE ' . $this->config['dbname']); |
This file contains hidden or 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
diff --git a/phpBB/includes/acp/acp_modules.php b/phpBB/includes/acp/acp_modules.php | |
index 6792886..100e330 100644 | |
--- a/phpBB/includes/acp/acp_modules.php | |
+++ b/phpBB/includes/acp/acp_modules.php | |
@@ -565,7 +565,7 @@ class acp_modules | |
{ | |
// Skip entries we do not need if we know the module we are | |
// looking for | |
- if ($module && strpos(str_replace('\\', '_', $cur_module), $module) === false) | |
+ if ($module && strpos(str_replace('\\', '_', $cur_module), $module) === false && $module !== $cur_module) |