summaryrefslogtreecommitdiff
path: root/pear/scripts
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-04-16 22:14:27 +0000
committerWez Furlong <wez@php.net>2002-04-16 22:14:27 +0000
commitb10b24d50cd4fb584897badee0c6b809b02d7fcb (patch)
tree7f616a36aab17efb68f83ec3075b454eb4b34356 /pear/scripts
parentfe2badf64eb32c290e681dd531a27c5467b0867b (diff)
downloadphp-git-b10b24d50cd4fb584897badee0c6b809b02d7fcb.tar.gz
Always initialize wrappers, regardless of PG(allow_url_fopen).
Add is_url field to wrapper structure; the stream wrapper openers will disallow opening is is_url && !PG(allow_url_fopen). Add infrastructure for stat($url) and opendir($url). Tidy up/centralize code that locates and instantiates wrappers for the various operations. Implement opendir for plain files. Make the PHP opendir and dir functions use the streams implementations. Add modelines for syntax highlighting the pear scripts in vim
Diffstat (limited to 'pear/scripts')
-rw-r--r--pear/scripts/pear.in1
-rw-r--r--pear/scripts/pearize.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/pear/scripts/pear.in b/pear/scripts/pear.in
index a3361edf3f..dc2561d16b 100644
--- a/pear/scripts/pear.in
+++ b/pear/scripts/pear.in
@@ -186,5 +186,6 @@ function cmdHelp($command)
* indent-tabs-mode: nil
* End:
*/
+// vim600:syn=php
?>
diff --git a/pear/scripts/pearize.in b/pear/scripts/pearize.in
index 1a17d3f2d0..0a9beec459 100644
--- a/pear/scripts/pearize.in
+++ b/pear/scripts/pearize.in
@@ -1,6 +1,5 @@
#!@prefix@/bin/php -Cq
<?php // -*- PHP -*-
-
main($argc, $argv, $_ENV);
// {{{ main()
@@ -222,4 +221,5 @@ function cdata_handler($xp, $data)
* indent-tabs-mode: t
* End:
*/
+// vim600:syn=php
?>