aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-07-21 16:19:01 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-07-21 16:19:01 +0200
commit85bcdbad468cd255a02d6c48b2dcd1d128978eed (patch)
tree143499b5650281e60cd56cb46f32d052eb8e1fbe /phpBB/includes/template
parentf7f78adeb910c84e86414dd6f6470631f5a47d8f (diff)
downloadforums-85bcdbad468cd255a02d6c48b2dcd1d128978eed.tar
forums-85bcdbad468cd255a02d6c48b2dcd1d128978eed.tar.gz
forums-85bcdbad468cd255a02d6c48b2dcd1d128978eed.tar.bz2
forums-85bcdbad468cd255a02d6c48b2dcd1d128978eed.tar.xz
forums-85bcdbad468cd255a02d6c48b2dcd1d128978eed.zip
[ticket/11012] Normalize $phpEx member vars to $php_ext
PHPBB3-11012
Diffstat (limited to 'phpBB/includes/template')
-rw-r--r--phpBB/includes/template/template.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/template/template.php b/phpBB/includes/template/template.php
index 8ab3c44be3..13fa845659 100644
--- a/phpBB/includes/template/template.php
+++ b/phpBB/includes/template/template.php
@@ -54,7 +54,7 @@ class phpbb_template
* PHP file extension
* @var string
*/
- private $phpEx;
+ private $php_ext;
/**
* phpBB config instance
@@ -87,10 +87,10 @@ class phpbb_template
* @param user $user current user
* @param phpbb_template_locator $locator template locator
*/
- public function __construct($phpbb_root_path, $phpEx, $config, $user, phpbb_template_locator $locator)
+ public function __construct($phpbb_root_path, $php_ext, $config, $user, phpbb_template_locator $locator)
{
$this->phpbb_root_path = $phpbb_root_path;
- $this->phpEx = $phpEx;
+ $this->php_ext = $php_ext;
$this->config = $config;
$this->user = $user;
$this->locator = $locator;
@@ -313,7 +313,7 @@ class phpbb_template
private function _compiled_file_for_handle($handle)
{
$source_file = $this->locator->get_filename_for_handle($handle);
- $compiled_file = $this->cachepath . str_replace('/', '.', $source_file) . '.' . $this->phpEx;
+ $compiled_file = $this->cachepath . str_replace('/', '.', $source_file) . '.' . $this->php_ext;
return $compiled_file;
}