Home
last modified time | relevance | path

Searched refs:basedir (Results 1 – 6 of 6) sorted by relevance

/PHP-7.2/ext/session/
H A Dmod_files.c95 char *basedir; member
118 buflen < (strlen(data->basedir) + 2 * data->dirdepth + key_len + 5 + sizeof(FILE_PREFIX))) { in ps_files_path_create()
123 memcpy(buf, data->basedir, data->basedir_len); in ps_files_path_create()
426 data->basedir = estrndup(save_path, data->basedir_len); in PS_OPEN_FUNC()
458 efree(data->basedir); in PS_CLOSE_FUNC()
654 *nrdels = ps_files_cleanup_dir(data->basedir, maxlifetime); in PS_GC_FUNC()
H A Dmod_files.bat9 ECHO Usage %0 ^<basedir^> ^<depth^> ^[^hash_bits^]
11 ECHO Where ^<basedir^> is the session directory
/PHP-7.2/main/
H A Dfopen_wrappers.h35 PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path);
H A Dfopen_wrappers.c136 PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path) argument
149 if (strcmp(basedir, ".") || !VCWD_GETCWD(local_open_basedir, MAXPATHLEN)) {
151 strlcpy(local_open_basedir, basedir, sizeof(local_open_basedir));
217 size_t basedir_len = strlen(basedir);
221 if (basedir[basedir_len - 1] == PHP_DIR_SEPARATOR || basedir[basedir_len - 1] == '/') {
223 if (basedir[basedir_len - 1] == PHP_DIR_SEPARATOR) {
/PHP-7.2/
H A Dphp.ini-development304 ; http://php.net/open-basedir
H A Dphp.ini-production304 ; http://php.net/open-basedir

Completed in 22 milliseconds