__DIR__ constant can be used.

This commit is contained in:
Yuriy Pikhtarev 2017-05-05 00:58:24 +03:00
parent 38a722ec60
commit 891ef417bc
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6

View file

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