Return to open_basedir_001.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / security |
version 1.1.1.1, 2012/02/21 23:48:06 | version 1.1.1.2, 2013/07/22 01:32:14 |
---|---|
Line 5 openbase_dir runtime tightning | Line 5 openbase_dir runtime tightning |
if (substr(PHP_OS, 0, 3) == 'WIN') { | if (substr(PHP_OS, 0, 3) == 'WIN') { |
die('skip.. only for unix'); | die('skip.. only for unix'); |
} | } |
if (!is_dir("/usr/local/bin")) { | |
die('skip.. no /usr/local/bin on this machine'); | |
} | |
--INI-- | --INI-- |
open_basedir=/usr/local | open_basedir=/usr/local |
--FILE-- | --FILE-- |