From db5e6c0857a608c8794b6e744c572f64ffa352f5 Mon Sep 17 00:00:00 2001 From: Rotimi Ade Date: Tue, 26 Sep 2017 10:57:16 -0600 Subject: [PATCH] Refs #1030 . Can the WP team list be listed alphabetically? Would help enormously to quickly find a team member in big teams. --- public/index-dist.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/public/index-dist.php b/public/index-dist.php index 76e6e1c..1bfb340 100644 --- a/public/index-dist.php +++ b/public/index-dist.php @@ -143,12 +143,16 @@ function s3MVC_PrependAction2ActionMethodName($action_method_name) { . " Please copy `$app_settings_dist_file_path_rel` to `$app_settings_file_path_rel` and" . " configure `$app_settings_file_path_rel` for your application's current environment."; - error_log ( $log_message , 0 ); // message is sent to PHP's system logger, - // using the Operating System's system logging mechanism - // or a file, depending on what the error_log configuration - // directive is set to. + // error_log ( $log_message , 0 ) means message is sent to PHP's system logger, + // using the Operating System's system logging mechanism or a file, depending + // on what the error_log configuration directive is set to. + if( @error_log ( $log_message , 0 ) === false ) { + + // last attempt to log + error_log ( $log_message , 4 ); // message is sent directly to the SAPI logging handler. + } - error_log ( $log_message , 4 ); // message is sent directly to the SAPI logging handler. + exit; }