Fileref:sl debug.php
From SLIS Second Life Wiki
This script should be included by all Sloodle Linker Scripts. It will disable all PHP error, warning, and notice messages, and define a constant to be true or false, depending on whether or not the "sloodledebug" request parameter is set to true.
Constants
This file defines the following constants:
Functions
This file defines the following function:
Algorithm
- If the debug mode parameter has been specified, store it as lower case
- Does the debug mode parameter equate to "true", "yes", "ok" or non-zero? If so, then:
- Define SLOODLE_DEBUG to boolean TRUE
- Enable PHP error display
- Set maximum PHP error reporting level
- else:
- Define SLOODLE_DEBUG to boolean FALSE
- Disable PHP error display
| This page is part of the Sloodle documentation | |||
|---|---|---|---|
| SloodleDocs Home | User Documentation | Administrator Documentation | Developer Documentation | Sloodle Wiki Home | |||
