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

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.