Searched refs:open_basedir (Results 1 - 17 of 17) sorted by relevance

/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_loaddata.c44 /* check open_basedir */
45 if (PG(open_basedir)) {
47 strcpy(info->error_msg, "open_basedir restriction in effect. Unable to open file");
H A Dmysqlnd.c754 if (PG(open_basedir) && strlen(PG(open_basedir))) {
/PHP_TRUNK/main/
H A Dphp_globals.h85 char *open_basedir; member in struct:_php_core_globals
H A Dfopen_wrappers.c78 Allows any change to open_basedir setting in during Startup and Shutdown events,
99 /* open_basedir not set yet, go ahead and give it a value */
104 /* Shortcut: When we have a open_basedir and someone tries to unset, we know it'll fail */
109 /* Is the proposed open_basedir at least as restrictive as the current setting? */
118 /* At least one portion of this open_basedir is less restrictive than the prior one, FAIL */
134 When open_basedir is not NULL, check if the given filename is located in
135 open_basedir. Returns -1 if error or not in the open_basedir, else 0.
136 When open_basedir is NULL, always return 0.
196 /* none of the path components exist. definitely not in open_basedir
[all...]
H A Dmain.c424 /* Only do the safemode/open_basedir check at runtime */
426 if (PG(open_basedir) && php_check_open_basedir(ZSTR_VAL(new_value))) {
439 /* Only do the safemode/open_basedir check at runtime */
441 if (PG(open_basedir) && php_check_open_basedir(ZSTR_VAL(new_value))) {
536 STD_PHP_INI_ENTRY("open_basedir", NULL, PHP_INI_ALL, OnUpdateBaseDir, open_basedir, php_core_globals, core_globals)
1592 /* Disable realpath cache if an open_basedir is set */
1593 if (PG(open_basedir) && *PG(open_basedir)) {
2161 /* Disable realpath cache if an open_basedir i
[all...]
H A Dphp_ini.c385 char *open_basedir; local
399 open_basedir = PG(open_basedir);
534 PG(open_basedir) = NULL;
587 PG(open_basedir) = open_basedir;
/PHP_TRUNK/ext/standard/
H A Ddir.c507 if (PG(open_basedir) && *PG(open_basedir)) {
519 if (PG(open_basedir) && *PG(open_basedir)) {
H A Dbasic_functions.c5373 if (PG(open_basedir)) {
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_driver.c802 "open_basedir prohibits opening %s",
815 if (PG(open_basedir) && *PG(open_basedir)) {
/PHP_TRUNK/ext/session/
H A Dmod_files.c189 if(PG(open_basedir) && lstat(buf, &sbuf) == 0 && S_ISLNK(sbuf.st_mode) && php_check_open_basedir(buf)) {
H A Dsession.c666 /* Only do the safemode/open_basedir check at runtime */
685 if (PG(open_basedir) && *p && php_check_open_basedir(p)) {
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c1780 if ((PG(open_basedir) && PG(open_basedir)[0] != '\0') || PG(safe_mode)) {
1782 if (PG(open_basedir) && PG(open_basedir)[0] != '\0') {
H A Dmysqli_nonapi.c121 if (PG(open_basedir) && PG(open_basedir)[0] != '\0') {
/PHP_TRUNK/ext/soap/
H A Dsoap.c493 /* Only do the open_basedir check at runtime */
512 if (PG(open_basedir) && *p && php_check_open_basedir(p)) {
/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c135 zend_throw_exception_ex(zend_ce_exception, 0, "open_basedir prohibits opening %s", fullpath);
167 if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) {
169 if (PG(open_basedir) && *PG(open_basedir)) {
/PHP_TRUNK/win32/build/
H A DMakefile152 "$(BUILD_DIR)\php.exe" -d open_basedir= -d output_buffering=0 run-tests.php $(TESTS) -p "$(BUILD_DIR)\php.exe"
/PHP_TRUNK/ext/curl/
H A Dinterface.c200 /* Disable file:// if open_basedir are used */
201 if (PG(open_basedir) && *PG(open_basedir)) {
2172 (PG(open_basedir) && *PG(open_basedir)) && (lval & CURLPROTO_FILE)) {
2173 php_error_docref(NULL, E_WARNING, "CURLPROTO_FILE cannot be activated when an open_basedir is set");
2473 if (PG(open_basedir) && *PG(open_basedir)) {
2475 php_error_docref(NULL, E_WARNING, "CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set");
2673 /* the following options deal with files, therefore the open_basedir chec
[all...]

Completed in 56 milliseconds