change directory to observium root, now also for other commandline tools

git-svn-id: http://www.observium.org/svn/observer/trunk@2990 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2012-04-08 10:44:41 +00:00
parent 86a5e66358
commit 6b210ea056
9 changed files with 18 additions and 0 deletions
+2
View File
@@ -2,6 +2,8 @@
<?php
chdir(dirname($argv[0]));
# Disable annoying messages... well... all messages actually :)
error_reporting(0);