Lines Matching refs:fullpath
104 char *filename, *encryption_key, *fullpath; local
126 if (!(fullpath = expand_filepath(filename, NULL TSRMLS_CC))) {
132 if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
133 …_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "safe_mode prohibits opening %s", fullpath);
134 efree(fullpath);
139 if (php_check_open_basedir(fullpath TSRMLS_CC)) {
140 …(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "open_basedir prohibits opening %s", fullpath);
141 efree(fullpath);
146 fullpath = filename;
150 if (sqlite3_open_v2(fullpath, &(db_obj->db), flags, NULL) != SQLITE_OK) {
152 if (sqlite3_open(fullpath, &(db_obj->db)) != SQLITE_OK) {
155 if (fullpath != filename) {
156 efree(fullpath);
180 if (fullpath != filename) {
181 efree(fullpath);
355 char fullpath[MAXPATHLEN]; local
393 if (!VCWD_REALPATH(lib_path, fullpath)) {
401 if (strncmp(fullpath, extension_dir, extension_dir_len) != 0) {
408 if (sqlite3_load_extension(db_obj->db, fullpath, 0, &errtext) != SQLITE_OK) {