--- .idea/inspectionProfiles/Project_Default.xml
+++ .idea/inspectionProfiles/Project_Default.xml
... | ... | @@ -1,20 +1,7 @@ |
1 | 1 |
<component name="InspectionProjectProfileManager"> |
2 | 2 |
<profile version="1.0"> |
3 | 3 |
<option name="myName" value="Project Default" /> |
4 |
- <inspection_tool class="CssUnknownProperty" enabled="false" level="WARNING" enabled_by_default="false"> |
|
5 |
- <option name="myCustomPropertiesEnabled" value="false" /> |
|
6 |
- <option name="myIgnoreVendorSpecificProperties" value="false" /> |
|
7 |
- <option name="myCustomPropertiesList"> |
|
8 |
- <value> |
|
9 |
- <list size="0" /> |
|
10 |
- </value> |
|
11 |
- </option> |
|
12 |
- </inspection_tool> |
|
13 | 4 |
<inspection_tool class="DuplicatedCode" enabled="false" level="WEAK WARNING" enabled_by_default="false" /> |
14 | 5 |
<inspection_tool class="HtmlFormInputWithoutLabel" enabled="false" level="WARNING" enabled_by_default="false" /> |
15 |
- <inspection_tool class="HtmlMissingClosingTag" enabled="false" level="INFORMATION" enabled_by_default="false" /> |
|
16 |
- <inspection_tool class="RequiredAttributes" enabled="false" level="WARNING" enabled_by_default="false"> |
|
17 |
- <option name="myAdditionalRequiredHtmlAttributes" value="" /> |
|
18 |
- </inspection_tool> |
|
19 | 6 |
</profile> |
20 | 7 |
</component>(No newline at end of file) |
--- config/replySelect.php
+++ config/replySelect.php
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 |
/** |
3 | 3 |
* @var $mysqli |
4 | 4 |
*/ |
5 |
-ini_set("display_errors",1); |
|
5 |
+ini_set("display_errors",0); |
|
6 | 6 |
include("db.config.php"); |
7 | 7 |
|
8 | 8 |
$col_num = $_GET['whereValue']; |
--- main.php
+++ main.php
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 |
ini_set("display_errors", 1); |
17 | 17 |
include("config/select.php"); |
18 | 18 |
if(!preg_match("/".$_SERVER['HTTP_HOST']."/i",$_SERVER['HTTP_REFERER'])){ |
19 |
- exit('Access Diny!!'); |
|
19 |
+ exit('Access Deny!!'); |
|
20 | 20 |
} |
21 | 21 |
?> |
22 | 22 |
<!doctype html> |
--- signUpFront.php
+++ signUpFront.php
... | ... | @@ -2,8 +2,11 @@ |
2 | 2 |
/** |
3 | 3 |
* @var $connStatus |
4 | 4 |
*/ |
5 |
- ini_set("display_errors", 1); |
|
5 |
+ ini_set("display_errors", 0); |
|
6 | 6 |
include("config/db.config.php"); |
7 |
+ if(!preg_match("/".$_SERVER['HTTP_HOST']."/i",$_SERVER['HTTP_REFERER'])){ |
|
8 |
+ exit('Access Deny!!'); |
|
9 |
+ } |
|
7 | 10 |
?> |
8 | 11 |
<!doctype html> |
9 | 12 |
<html lang="ko"> |
--- updateWrite.php
+++ updateWrite.php
... | ... | @@ -5,6 +5,9 @@ |
5 | 5 |
*/ |
6 | 6 |
ini_set("display_errors", 0); |
7 | 7 |
include("config/clickedSelect.php"); |
8 |
+if(!preg_match("/".$_SERVER['HTTP_HOST']."/i",$_SERVER['HTTP_REFERER'])){ |
|
9 |
+ exit('Access Deny!!'); |
|
10 |
+} |
|
8 | 11 |
?> |
9 | 12 |
<!doctype html> |
10 | 13 |
<html lang="ko"> |
--- view.php
+++ view.php
... | ... | @@ -11,6 +11,9 @@ |
11 | 11 |
ini_set("display_errors", 0); |
12 | 12 |
include("config/clickedSelect.php"); |
13 | 13 |
include("config/replySelect.php"); |
14 |
+if(!preg_match("/".$_SERVER['HTTP_HOST']."/i",$_SERVER['HTTP_REFERER'])){ |
|
15 |
+ exit('Access Deny!!'); |
|
16 |
+} |
|
14 | 17 |
?> |
15 | 18 |
<!doctype html> |
16 | 19 |
<html lang="ko"> |
... | ... | @@ -91,7 +94,7 @@ |
91 | 94 |
<input class="btnS" type="submit" value="확인"> |
92 | 95 |
</form> |
93 | 96 |
</div> |
94 |
- <h2><p id="answerTitle">댓글</p></h2> |
|
97 |
+ <h2><span id="answerTitle">댓글</span></h2> |
|
95 | 98 |
<div id="answerSelect"> |
96 | 99 |
<?php |
97 | 100 |
if(!$result){ |
--- write.php
+++ write.php
... | ... | @@ -3,6 +3,9 @@ |
3 | 3 |
* @var $connStatus |
4 | 4 |
*/ |
5 | 5 |
include("config/db.config.php"); |
6 |
+if(!preg_match("/".$_SERVER['HTTP_HOST']."/i",$_SERVER['HTTP_REFERER'])){ |
|
7 |
+ exit('Access Deny!!'); |
|
8 |
+} |
|
6 | 9 |
?> |
7 | 10 |
<!doctype html> |
8 | 11 |
<html lang="ko"> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?