diff options
author | Victor Nagy <galaxyAbstractor@gmail.com> | 2013-05-14 23:04:32 +0200 |
---|---|---|
committer | Victor Nagy <galaxyAbstractor@gmail.com> | 2013-05-15 14:49:46 +0200 |
commit | 63f11a802447c8641bcb9d645000232dc7181da9 (patch) | |
tree | 257dc76ac38de4d66e6f5c2c792fee52e29196d0 /phpBB/docs/coding-guidelines.html | |
parent | 45e014d35d755363224a8a84dd9bb51299a6f107 (diff) | |
download | forums-63f11a802447c8641bcb9d645000232dc7181da9.tar forums-63f11a802447c8641bcb9d645000232dc7181da9.tar.gz forums-63f11a802447c8641bcb9d645000232dc7181da9.tar.bz2 forums-63f11a802447c8641bcb9d645000232dc7181da9.tar.xz forums-63f11a802447c8641bcb9d645000232dc7181da9.zip |
[ticket/11536] Fixed incorrect removal of "install" in script_path
Earlier the script would incorrectly remove the word "install"
from the script_path when trying to remove the last folder in the
path named "/install". This would lead to issues when the path
you are installing phpBB contained "install". For example
"/install_test/install" would become "/_test".
This change gets the parent folder instead of replacing all
"install". $name contains /install_test/install/index.php
from start and running dirname() gives /install_test/install.
Running dirname once more gives the parent folder of install,
/install_test.
PHPBB3-11536
Diffstat (limited to 'phpBB/docs/coding-guidelines.html')
0 files changed, 0 insertions, 0 deletions