質問編集履歴
1
「funcitons」→「functions」
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
```php
|
21
21
|
<?php
|
22
22
|
/* index.php */
|
23
|
-
require '/home/public_html/example.com/funci
|
23
|
+
require '/home/public_html/example.com/functions.php';
|
24
24
|
$res = get_comments();
|
25
25
|
$comment_arr_init = $res['comment_arr'];
|
26
26
|
?>
|
@@ -121,7 +121,7 @@
|
|
121
121
|
```php
|
122
122
|
<?php
|
123
123
|
/* ajax.php */
|
124
|
-
require '/home/public_html/example.com/funci
|
124
|
+
require '/home/public_html/example.com/functions.php';
|
125
125
|
$ajax_func = filter_input(INPUT_POST, 'ajax_func');
|
126
126
|
echo my_json_encode($ajax_func());
|
127
127
|
```
|