+$a->config['system']['directory'] = 'http://dir.friendica.social';
+
+// turn on friendica's log
+$a->config['system']['debugging'] = true;
+$a->config['system']['logfile'] = 'logfile.out';
+$a->config['system']['loglevel'] = LOGGER_DEBUG;
+
+// display php errors
+ini_set('display_errors', '1');