aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_install.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-10-04 11:33:33 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-10-04 11:33:33 +0000
commit92f554e38aaf3c4d280c201d3a6521e519acfb47 (patch)
tree8a72a5f6ea7e5b42efeefe551b055e3605699750 /phpBB/install/install_install.php
parent303239afa44caa02709cf2f301e4fe39704f3383 (diff)
downloadforums-92f554e3.tar
forums-92f554e3.tar.gz
forums-92f554e3.tar.bz2
forums-92f554e3.tar.xz
forums-92f554e3.zip
deregister globals to install too
git-svn-id: file:///svn/phpbb/trunk@8130 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_install.php')
-rwxr-xr-xphpBB/install/install_install.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index 0d8e9d1c3b..ca86816e9c 100755
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -1,10 +1,10 @@
<?php
-/**
+/**
*
* @package install
* @version $Id$
-* @copyright (c) 2005 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
@@ -191,7 +191,7 @@ class install_install extends module
));
- // Check for url_fopen
+ // Check for url_fopen
if (@ini_get('allow_url_fopen') == '1' || strtolower(@ini_get('allow_url_fopen')) == 'on')
{
$result = '<strong style="color:green">' . $lang['YES'] . '</strong>';
@@ -211,7 +211,7 @@ class install_install extends module
));
- // Check for getimagesize
+ // Check for getimagesize
if (@function_exists('getimagesize'))
{
$passed['imagesize'] = true;
@@ -1326,16 +1326,16 @@ class install_install extends module
OR topic_last_poster_name = 'Admin'",
'UPDATE ' . $data['table_prefix'] . "users
- SET user_regdate = $current_time",
+ SET user_regdate = $current_time",
'UPDATE ' . $data['table_prefix'] . "posts
- SET post_time = $current_time, poster_ip = '" . $db->sql_escape($user_ip) . "'",
+ SET post_time = $current_time, poster_ip = '" . $db->sql_escape($user_ip) . "'",
'UPDATE ' . $data['table_prefix'] . "topics
- SET topic_time = $current_time, topic_last_post_time = $current_time",
+ SET topic_time = $current_time, topic_last_post_time = $current_time",
'UPDATE ' . $data['table_prefix'] . "forums
- SET forum_last_post_time = $current_time",
+ SET forum_last_post_time = $current_time",
);
if (@extension_loaded('gd') || can_load_dll('gd'))
@@ -1390,7 +1390,7 @@ class install_install extends module
$data = $this->get_submitted_data();
$table_prefix = $data['table_prefix'];
- // If we get here and the extension isn't loaded it should be safe to just go ahead and load it
+ // If we get here and the extension isn't loaded it should be safe to just go ahead and load it
$available_dbms = get_available_dbms($data['dbms']);
// Load the appropriate database class if not already loaded
@@ -1609,7 +1609,7 @@ class install_install extends module
foreach ($this->module_extras[$module_class] as $cat_name => $mods)
{
$sql = 'SELECT module_id, left_id, right_id
- FROM ' . MODULES_TABLE . "
+ FROM ' . MODULES_TABLE . "
WHERE module_langname = '" . $db->sql_escape($cat_name) . "'
AND module_class = '" . $db->sql_escape($module_class) . "'";
$result = $db->sql_query_limit($sql, 1);
@@ -1619,7 +1619,7 @@ class install_install extends module
foreach ($mods as $mod_name)
{
$sql = 'SELECT *
- FROM ' . MODULES_TABLE . "
+ FROM ' . MODULES_TABLE . "
WHERE module_langname = '" . $db->sql_escape($mod_name) . "'
AND module_class = '" . $db->sql_escape($module_class) . "'
AND module_basename <> ''";