Remove old .htaccess php xdebug, test updates, fixes in admin header

- remove all old php_value settings as they wont work with php-fpm
- test check for removeLB
- fix URL for Error handling include in admin header
This commit is contained in:
Clemens Schwaighofer
2018-11-30 11:37:50 +09:00
parent 7e34c5321d
commit 005584e2ed
3 changed files with 10 additions and 4 deletions

View File

@@ -1,6 +1,3 @@
# php_value xdebug.profiler_output_dir /home/developer/xdebug/
# php_value xdebug.profiler_output_name timestamp
# php_value xdebug.profiler_enable 0
# all .inc files are denied access from outside
<Files "*.inc">
Require all denied

View File

@@ -17,6 +17,15 @@ print "BASE: ".BASE."<br>";
print "ROOT: ".ROOT."<br>";
print "HOST: ".$HOST_NAME." => DB HOST: ".$DB_HOST[$HOST_NAME]." => ".MAIN_DB."<br>";
$text = 'I am some text
with some
line breaks
in there. Theis
is sucky';
print "LB remove: ".$base->removeLB($text)."<br>";
print "LB remove: ".$base->removeLB($text, '##BR##')."<br>";
// $test = array (
// 'A' => array (
// 'B' => array (),

View File

@@ -10,7 +10,7 @@
//------------------------------ variable init start
// for dev test we set full error reporting; writes everything, except E_ERROR into logs/php_error-<day>.log
if ($DEBUG_ALL && $ENABLE_ERROR_HANDLING) {
include("../lib/Error.Handling.inc");
include(BASE.LIBS."Error.Handling.inc");
}
// predefine vars
$lang = '';