- drupal
Root directory of Drupal installation.
File
- ./
install.php, line 11 - Initiates a browser-based installation of Drupal.
Code
<?php
define('DRUPAL_ROOT', getcwd())
?>
Login or register to post commentsRoot directory of Drupal installation.
<?php
define('DRUPAL_ROOT', getcwd())
?>
Login or register to post comments
Comments
why getcwd ?
what about
<?phpdefine('DRUPAL_ROOT', dirname(__FILE__));
?>
?
getcwd() !!, it looks like it relays on the directory set by the web server, well, Apache will do it, will all other do?