Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi
I am using Drupal 6.13 where I get this message:
chdir() has been disabled for security reasons in .../www/includes/common.inc on line 1988.
which is refering to this line:
chdir($cwd);
It is not the only message related to chdir.
Apparently, chdir is forbidden by my provider and it may be needed to avoid this command altogether.
I am not even sure that these chdirs still do something useful when I look at the code.
It would apparently be best to not use chdir for portability reasons + they are apparently not usefull here.
Comments