Project

General

Profile

« Previous | Next » 

Revision 17c2c2fa

Added by Phil Davis about 11 years ago

Use require_once in more places

I got:
PHP Fatal error: Cannot redeclare file_notice() (previously declared in /etc/inc/notices.inc:55) in /etc/inc/notices.inc on line 91
So there are places that notices.inc gets require() when already required.

View differences:

etc/rc.notify_message
28 28
    POSSIBILITY OF SUCH DAMAGE.
29 29
*/
30 30

  
31
require("config.inc");
32
require("functions.inc");
33
require("notices.inc");
31
require_once("config.inc");
32
require_once("functions.inc");
33
require_once("notices.inc");
34 34

  
35 35
$arguments = getopt("egm:");
36 36

  
......
61 61
	}
62 62
}
63 63

  
64
?>
64
?>

Also available in: Unified diff