- all if/while/for/etc blocks have brackets on same line - functions have brackets on new line - no blocks without brackets - all code starts on col 0 and there are no tab intends anymore off: came case for classes and class methods ignore: _ prefix functions (we can't change that anymore)
19 lines
287 B
PHP
19 lines
287 B
PHP
<?php
|
|
|
|
$DEBUG_ALL_OVERRIDE = 0; // set to 1 to debug on live/remote server locations
|
|
$DEBUG_ALL = 1;
|
|
$PRINT_ALL = 1;
|
|
$DB_DEBUG = 1;
|
|
|
|
if ($DEBUG_ALL) {
|
|
error_reporting(E_ALL);
|
|
}
|
|
|
|
// sample config
|
|
require("config.inc");
|
|
require(LIBS."Error.Handling.inc");
|
|
|
|
if ($var) {
|
|
echo "OUT<br>";
|
|
}
|