Skip to content

Commit

Permalink
Fix table prefix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgraham committed Jun 23, 2017
1 parent 1d50baa commit 9c4c2d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install.php
Expand Up @@ -958,6 +958,11 @@ function step_5()
{
if (count($_POST)==0) exit(do_lang('INST_POST_ERROR'));

if (isset($_POST['table_prefix']))
$_POST['table_prefix']=preg_replace('#[^\w]#','',$_POST['table_prefix']);
if (isset($_POST['ocf_table_prefix']))
$_POST['ocf_table_prefix']=preg_replace('#[^\w]#','',$_POST['ocf_table_prefix']);

if (function_exists('set_time_limit')) @set_time_limit(180);

$url='install.php?step=6';
Expand Down

0 comments on commit 9c4c2d1

Please sign in to comment.