projects
/
SonOfLokstallBot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Require config file in a cron-happy way
[SonOfLokstallBot.git]
/
common.php
diff --git
a/common.php
b/common.php
index
5244cfe
..
c92db49
100644
(file)
--- a/
common.php
+++ b/
common.php
@@
-3,7
+3,7
@@
namespace Common;
require 'vendor/autoload.php';
-require
'
../../config.php';
+require
__DIR__ . '/
../../config.php';
use Telegram\Bot\Api;
use DateTimeImmutable;