__DIR__ constant can be used.

(cherry picked from commit 891ef41)
This commit is contained in:
Yuriy Pikhtarev 2017-05-05 00:58:24 +03:00 committed by Vasily Komrakov
commit ba2e294fe9
No known key found for this signature in database
GPG key ID: 558236680C20A69A

View file

@ -24,6 +24,6 @@
*/
define('START_CRON', true);
define('BB_ROOT', dirname(__FILE__) . '/');
define('BB_ROOT', __DIR__ . '/');
require __DIR__ . '/common.php';