Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
lib/installer.php
plugins/Meteor/MeteorPlugin.php
plugins/TwitterBridge/daemons/synctwitterfriends.php
scripts/getvaliddaemons.php
END_OF_TRIM_HELP;
-require_once INSTALLDIR . '/scripts/commandline.inc';
+require_once INSTALLDIR . '/scripts/commandline.inc.php';
- require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
+ require_once dirname(__DIR__) . '/twitter.php';
/**
* Daemon to sync local friends with Twitter friends
END_OF_TRIM_HELP;
-require_once INSTALLDIR . '/scripts/commandline.inc';
+require_once INSTALLDIR . '/scripts/commandline.inc.php';
require_once INSTALLDIR . '/lib/common.php';
require_once INSTALLDIR . '/lib/daemon.php';
- require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
+ require_once dirname(__DIR__) . '/twitter.php';
/**
* Fetch statuses from Twitter
ENDOFHELP;
- // No error reporting to avoid invalid daemon names
- error_reporting(0);
+ // No unnecessary error reporting to avoid invalid daemon names
+ error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE);
-require_once INSTALLDIR.'/scripts/commandline.inc';
+require_once INSTALLDIR.'/scripts/commandline.inc.php';
$daemons = array();