ezrpg-legacy / ezrpg-2.0.X-discontinued-

http://ezrpgproject.net
Other
6 stars 0 forks source link

Incorrect path when validating write permissions #29

Closed ferdis closed 10 years ago

ferdis commented 11 years ago

The installer validates whether it can write configuration files by checking for the writable bit on whatever "DIR" is. This is incorrect, as it will use the directory the executed script is in.

The directory checking would need to grab the current executing directory through "getcwd()".