diff --git a/install/ajax.install.check.php b/install/ajax.install.check.php new file mode 100644 index 000000000..381fd380a --- /dev/null +++ b/install/ajax.install.check.php @@ -0,0 +1,53 @@ + \ No newline at end of file diff --git a/install/install.function.php b/install/install.function.php new file mode 100644 index 000000000..4739e9bc4 --- /dev/null +++ b/install/install.function.php @@ -0,0 +1,40 @@ +$error_msg, 'success'=>$success_msg, 'exists'=>$exists_msg)); + } +} +?> \ No newline at end of file diff --git a/install/install_config.php b/install/install_config.php index 7020c6647..67d804f3d 100644 --- a/install/install_config.php +++ b/install/install_config.php @@ -17,6 +17,9 @@ if (!isset($_POST['agree']) || $_POST['agree'] != '동의함') { echo "
".PHP_EOL; exit; } + +$tmp_str = isset($_SERVER['SERVER_SOFTWARE']) ? $_SERVER['SERVER_SOFTWARE'] : ''; +$ajax_token = md5($tmp_str.$_SERVER['REMOTE_ADDR'].$_SERVER['DOCUMENT_ROOT']); ?> @@ -66,6 +69,7 @@ if (!isset($_POST['agree']) || $_POST['agree'] != '동의함') {