Searched refs:readonly (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/dba/libinifile/
H A Dinifile.c82 inifile * inifile_alloc(php_stream *fp, int readonly, int persistent) argument
86 if (!readonly) {
96 dba->readonly = readonly;
H A Dinifile.h43 int readonly; member in struct:__anon60
65 inifile * inifile_alloc(php_stream *fp, int readonly, int persistent);
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c620 #define SQLITE_READONLY 8 /* Attempt to write a readonly database */
3147 ** <tr><td> file:data.db?mode=readonly <td>
3148 ** An error. "readonly" is not a valid option for the "mode" parameter.
[all...]
/PHP_TRUNK/ext/phar/
H A Ddirstream.c420 /* pre-readonly check, we need to know if this is a data phar */
433 if (PHAR_G(readonly) && (!phar || !phar->is_data)) {
555 /* pre-readonly check, we need to know if this is a data phar */
568 if (PHAR_G(readonly) && (!phar || !phar->is_data)) {
H A Dutil.c375 if (for_write && PHAR_G(readonly) && !phar->is_data) {
390 if ((entry = phar_get_entry_info_dir(phar, path, path_len, allow_dir, for_create && !PHAR_G(readonly) && !phar->is_data ? NULL : error, security)) == NULL) {
391 if (for_create && (!PHAR_G(readonly) || phar->is_data)) {
397 if ((entry = phar_get_entry_info(phar, path, path_len, for_create && !PHAR_G(readonly) && !phar->is_data ? NULL : error, security)) == NULL) {
398 if (for_create && (!PHAR_G(readonly) || phar->is_data)) {
H A Dstream.c109 if (PHAR_G(readonly) && (!pphar || !pphar->is_data)) {
111 php_stream_wrapper_log_error(wrapper, options, "phar error: write operations disabled by the php.ini setting phar.readonly");
709 if (PHAR_G(readonly) && (!pphar || !pphar->is_data)) {
711 php_stream_wrapper_log_error(wrapper, options, "phar error: write operations disabled by the php.ini setting phar.readonly");
774 if (PHAR_G(readonly) && (!pfrom || !pfrom->is_data)) {
776 php_error_docref(NULL, E_WARNING, "phar error: Write operations disabled by the php.ini setting phar.readonly");
791 if (PHAR_G(readonly) && (!pto || !pto->is_data)) {
793 php_error_docref(NULL, E_WARNING, "phar error: Write operations disabled by the php.ini setting phar.readonly");
H A Dphar.c53 if (ZSTR_LEN(entry->name) == sizeof("phar.readonly")-1) {
74 if (ZSTR_LEN(entry->name) == sizeof("phar.readonly")-1) {
83 if (ZSTR_LEN(entry->name) == sizeof("phar.readonly")-1) {
84 PHAR_G(readonly) = ini;
197 STD_PHP_INI_BOOLEAN("phar.readonly", "1", PHP_INI_ALL, phar_ini_modify_handler, readonly, zend_phar_globals, phar_globals)
568 if (PHAR_G(readonly) && NULL == (stub = zend_hash_str_find_ptr(&(phar->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1))) {
1284 if (PHAR_G(readonly) && !(*test)->is_data && ((*test)->is_tar || (*test)->is_zip)) {
1292 if (!PHAR_G(readonly) || (*test)->is_data) {
1338 /* first open readonly s
[all...]
H A Dphar_internal.h147 int readonly; variable
H A Dphar_object.c1051 RETURN_BOOL(!PHAR_G(readonly));
1736 if (PHAR_G(readonly) && !phar_obj->archive->is_data) {
1868 if (PHAR_G(readonly) && !phar_obj->archive->is_data) {
2333 if (PHAR_G(readonly)) {
2545 * Returns true if phar.readonly=0 or phar is a PharData AND the actual file is writable.
2583 if (PHAR_G(readonly) && !phar_obj->archive->is_data) {
2668 if (PHAR_G(readonly) && !phar_obj->archive->is_data) {
2815 if (PHAR_G(readonly) && !phar_obj->archive->is_data) {
2844 if (PHAR_G(readonly) && !phar_obj->archive->is_data) {
2942 if (PHAR_G(readonly)) {
[all...]

Completed in 140 milliseconds