diff options
author | Andrii Afanasiev <andrii@crytek.de> | 2018-06-15 08:35:59 +0200 |
---|---|---|
committer | Andrii Afanasiev <andrii@crytek.de> | 2018-06-15 09:09:07 +0200 |
commit | 7b44e2c791b6655380b673cf98150f48f5795d39 (patch) | |
tree | 026f900a3564f2700002ed298062a7e23d64bab0 /phpBB/phpbb/filesystem | |
parent | 8b7ae7c796d9ffb9083502b869ecac0e15f73d58 (diff) | |
download | forums-7b44e2c791b6655380b673cf98150f48f5795d39.tar forums-7b44e2c791b6655380b673cf98150f48f5795d39.tar.gz forums-7b44e2c791b6655380b673cf98150f48f5795d39.tar.bz2 forums-7b44e2c791b6655380b673cf98150f48f5795d39.tar.xz forums-7b44e2c791b6655380b673cf98150f48f5795d39.zip |
[ticket/15678] Fix build and cache flow for container
1. During procedure of building container we have to check both required files
in cache: container_* and autoload_*. This files should be "fresh" and if one
of the does not exist then we have to build it and put into a cache one more
time.
2. Fix typo 'posic_getuid' does not exist, so $php_uid is alwasy was false.
PHPBB3-15678
Diffstat (limited to 'phpBB/phpbb/filesystem')
-rw-r--r-- | phpBB/phpbb/filesystem/filesystem.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/filesystem/filesystem.php b/phpBB/phpbb/filesystem/filesystem.php index 3f39448f05..bfafdf5ddd 100644 --- a/phpBB/phpbb/filesystem/filesystem.php +++ b/phpBB/phpbb/filesystem/filesystem.php @@ -367,7 +367,7 @@ class filesystem implements filesystem_interface $common_php_group = @filegroup(__FILE__); // And the owner and the groups PHP is running under. - $php_uid = (function_exists('posic_getuid')) ? @posix_getuid() : false; + $php_uid = (function_exists('posix_getuid')) ? @posix_getuid() : false; $php_gids = (function_exists('posix_getgroups')) ? @posix_getgroups() : false; // If we are unable to get owner/group, then do not try to set them by guessing |