mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-08 01:37:30 +00:00
Whitespace
This commit is contained in:
1 parent
a928a2422b
commit
fa684c5bd4
1 file changed
+9
-9
@@ -247,16 +247,16 @@ PHPAPI int php_check_open_basedir(char *path)
|
||||
*/
|
||||
static FILE *php_fopen_and_set_opened_path(const char *path, char *mode, char **opened_path)
|
||||
{
|
||||
FILE *fp;
|
||||
FILE *fp;
|
||||
|
||||
if (php_check_open_basedir((char *)path)) {
|
||||
return NULL;
|
||||
}
|
||||
fp = VCWD_FOPEN(path, mode);
|
||||
if (fp && opened_path) {
|
||||
*opened_path = expand_filepath(path,NULL);
|
||||
}
|
||||
return fp;
|
||||
if (php_check_open_basedir((char *)path)) {
|
||||
return NULL;
|
||||
}
|
||||
fp = VCWD_FOPEN(path, mode);
|
||||
if (fp && opened_path) {
|
||||
*opened_path = expand_filepath(path,NULL);
|
||||
}
|
||||
return fp;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
||||
Reference in new issue
Block a user