Re: [RFC] [FINAL DISCUSSION] Script only include/require

From: Date: Mon, 23 Feb 2015 15:51:59 +0000
Subject: Re: [RFC] [FINAL DISCUSSION] Script only include/require
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-83578@lists.php.net to get a copy of this message
Yasuo Ohgaki in php.internals (Mon, 23 Feb 2015 18:53:10 +0900): >On Mon, Feb 23, 2015 at 6:52 PM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote: > >> ini_set('.php .phar .module .etc'); > >ini_set('zend.script_extensions', '.php .phar .module .etc'); > >to be correct. Quote from a Drupal 7 .htaccess: # Protect files and directories from prying eyes. <FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$"> Order allow,deny </FilesMatch> A lot of these, even .test, are used as include scripts. How would the corresponding .htaccess entry for zend.script_extensions be formulated? Jan

« previous php.internals (#83578) next »