{
FILE *f;
- f = php_fopen_wrapper(path, mode, options & ~IGNORE_URL, NULL, NULL, NULL);
+ f = php_fopen_wrapper(path, mode, options, NULL, NULL, NULL);
if (!f) {
return NULL;
WRONG_PARAM_COUNT;
}
convert_to_long_ex(arg2);
- use_include_path = (*arg2)->value.lval;
+ use_include_path = (*arg2)->value.lval?USE_PATH:0;
break;
default:
WRONG_PARAM_COUNT;
WRONG_PARAM_COUNT;
}
convert_to_long_ex(arg3);
- use_include_path = (*arg3)->value.lval;
+ use_include_path = (*arg3)->value.lval?USE_PATH:0;
break;
default:
WRONG_PARAM_COUNT;
WRONG_PARAM_COUNT;
}
convert_to_long_ex(arg2);
- use_include_path = (*arg2)->value.lval;
+ use_include_path = (*arg2)->value.lval?USE_PATH:0;
break;
default:
WRONG_PARAM_COUNT;