Browse Source

Paul:
It may be just me, but I believe that the "include_once" statements
below should be "require_once", actually. Eh?

philippe_mingo 23 years ago
parent
commit
87202d8b4e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/addrbook_search_html.php
  2. 1 1
      src/addressbook.php

+ 1 - 1
src/addrbook_search_html.php

@@ -23,7 +23,7 @@ require_once('../functions/smtp.php');
 require_once('../functions/display_messages.php');
 require_once('../functions/addressbook.php');
 require_once('../functions/plugin.php');
-include_once('../functions/strings.php');
+require_once('../functions/strings.php');
 
 /* Insert hidden data */
 function addr_insert_hidden() {

+ 1 - 1
src/addressbook.php

@@ -15,7 +15,7 @@ require_once('../src/validate.php');
 require_once('../functions/array.php');
 require_once('../functions/display_messages.php');
 require_once('../functions/addressbook.php');
-include_once('../functions/strings.php');
+require_once('../functions/strings.php');
 
 /* Make an input field */
 function adressbook_inp_field($label, $field, $name, $size, $values, $add) {