1. 1.16.x authorize.php BACKDROP_ROOT
  2. 1.16.x cron.php BACKDROP_ROOT
  3. 1.16.x install.php BACKDROP_ROOT
  4. 1.16.x modules/simpletest/tests/http.php BACKDROP_ROOT
  5. 1.16.x modules/simpletest/tests/https.php BACKDROP_ROOT
  6. 1.16.x update.php BACKDROP_ROOT
  7. 1.12.x authorize.php BACKDROP_ROOT
  8. 1.12.x cron.php BACKDROP_ROOT
  9. 1.12.x install.php BACKDROP_ROOT
  10. 1.12.x update.php BACKDROP_ROOT
  11. 1.14.x authorize.php BACKDROP_ROOT
  12. 1.14.x cron.php BACKDROP_ROOT
  13. 1.14.x install.php BACKDROP_ROOT
  14. 1.14.x update.php BACKDROP_ROOT
  15. 1.15.x authorize.php BACKDROP_ROOT
  16. 1.15.x cron.php BACKDROP_ROOT
  17. 1.15.x install.php BACKDROP_ROOT
  18. 1.15.x modules/simpletest/tests/http.php BACKDROP_ROOT
  19. 1.15.x modules/simpletest/tests/https.php BACKDROP_ROOT
  20. 1.15.x update.php BACKDROP_ROOT
  21. 1.10.x authorize.php BACKDROP_ROOT
  22. 1.10.x cron.php BACKDROP_ROOT
  23. 1.10.x install.php BACKDROP_ROOT
  24. 1.10.x update.php BACKDROP_ROOT
  25. 1.11.x authorize.php BACKDROP_ROOT
  26. 1.11.x cron.php BACKDROP_ROOT
  27. 1.11.x install.php BACKDROP_ROOT
  28. 1.11.x modules/simpletest/tests/http.php BACKDROP_ROOT
  29. 1.11.x modules/simpletest/tests/https.php BACKDROP_ROOT
  30. 1.11.x update.php BACKDROP_ROOT
  31. 1.13.x authorize.php BACKDROP_ROOT
  32. 1.13.x cron.php BACKDROP_ROOT
  33. 1.13.x install.php BACKDROP_ROOT
  34. 1.13.x update.php BACKDROP_ROOT
  35. 1.8.x authorize.php BACKDROP_ROOT
  36. 1.8.x cron.php BACKDROP_ROOT
  37. 1.8.x install.php BACKDROP_ROOT
  38. 1.8.x update.php BACKDROP_ROOT
  39. 1.9.x authorize.php BACKDROP_ROOT
  40. 1.9.x cron.php BACKDROP_ROOT
  41. 1.9.x install.php BACKDROP_ROOT
  42. 1.9.x update.php BACKDROP_ROOT

Defines the root directory of the Backdrop installation.

The dirname() function is used to get path to Backdrop root folder, which avoids resolving of symlinks. This allows the code repository to be a symlink and hosted outside of the web root. See issue #1297.


./cron.php, line 15
Handles incoming requests to fire off regularly-scheduled tasks (cron jobs).


define('BACKDROP_ROOT', dirname(dirname($_SERVER['SCRIPT_FILENAME'])))