Skip to content

Commit

Permalink
Fix #12607: LFI/FD and XSS in the upgrade_unattended.php - part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vboctor committed Dec 14, 2010
1 parent c629599 commit 1efe5be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/upgrade_unattended.php
Expand Up @@ -89,7 +89,7 @@ function print_test_result( $p_result, $p_hard_fail = true, $p_message = '' ) {

# install the tables
$c_db_type = string_attribute( $f_db_type );
if ( !file_exists( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'library' . DIRECTORY_SEPARATOR . 'adodb' . DIRECTORY_SEPARATOR . 'drivers' . DIRECTORY_SEPARATOR . 'adodb-' . $c_db_type . '.php' ) ) {
if ( !file_exists( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'library' . DIRECTORY_SEPARATOR . 'adodb' . DIRECTORY_SEPARATOR . 'drivers' . DIRECTORY_SEPARATOR . 'adodb-' . $c_db_type . '.inc.php' ) ) {
echo "Invalid db type '$c_db_type'.";
exit;
}
Expand Down

0 comments on commit 1efe5be

Please sign in to comment.