diff options
| author | Kalle Sommer Nielsen <kalle@php.net> | 2010-04-26 23:53:30 +0000 |
|---|---|---|
| committer | Kalle Sommer Nielsen <kalle@php.net> | 2010-04-26 23:53:30 +0000 |
| commit | dd8e59da8f5aafd9d77a0f1f17e5e272d09f643f (patch) | |
| tree | 6c3e808cb0300c72f869478fbbc9dea69e5cf697 /ext/posix/tests | |
| parent | 3c78ad763ebb0e09ad5524ba08fa6e83feffe102 (diff) | |
| download | php-git-dd8e59da8f5aafd9d77a0f1f17e5e272d09f643f.tar.gz | |
Removed safe_mode
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
Diffstat (limited to 'ext/posix/tests')
| -rw-r--r-- | ext/posix/tests/posix_access.phpt | 3 | ||||
| -rw-r--r-- | ext/posix/tests/posix_access_error_modes.phpt | 3 | ||||
| -rw-r--r-- | ext/posix/tests/posix_access_error_wrongparams.phpt | 3 | ||||
| -rw-r--r-- | ext/posix/tests/posix_access_safemode.phpt | 3 | ||||
| -rw-r--r-- | ext/posix/tests/posix_mkfifo_safemode.phpt | 3 |
5 files changed, 15 insertions, 0 deletions
diff --git a/ext/posix/tests/posix_access.phpt b/ext/posix/tests/posix_access.phpt index 1bd601ad4b..08d9bf2ed9 100644 --- a/ext/posix/tests/posix_access.phpt +++ b/ext/posix/tests/posix_access.phpt @@ -13,6 +13,9 @@ if (!extension_loaded('posix')) { if (posix_geteuid() == 0) { die('SKIP Cannot run test as root.'); } +if (PHP_VERSION_ID < 503099) { + die('SKIP Safe mode is no longer available.'); +} ?> --INI-- safe_mode = 1 diff --git a/ext/posix/tests/posix_access_error_modes.phpt b/ext/posix/tests/posix_access_error_modes.phpt index 0d79996bd1..e79d24329b 100644 --- a/ext/posix/tests/posix_access_error_modes.phpt +++ b/ext/posix/tests/posix_access_error_modes.phpt @@ -13,6 +13,9 @@ if (!extension_loaded('posix')) { if (posix_geteuid() == 0) { die('SKIP Cannot run test as root.'); } +if (PHP_VERSION_ID < 503099) { + die('SKIP Safe mode is no longer available.'); +} ?> --INI-- safe_mode = 1 diff --git a/ext/posix/tests/posix_access_error_wrongparams.phpt b/ext/posix/tests/posix_access_error_wrongparams.phpt index 7f938a8492..882c43b636 100644 --- a/ext/posix/tests/posix_access_error_wrongparams.phpt +++ b/ext/posix/tests/posix_access_error_wrongparams.phpt @@ -13,6 +13,9 @@ if (!extension_loaded('posix')) { if (posix_geteuid() == 0) { die('SKIP Cannot run test as root.'); } +if (PHP_VERSION_ID < 503099) { + die('SKIP Safe mode is no longer available.'); +} ?> --INI-- safe_mode = 1 diff --git a/ext/posix/tests/posix_access_safemode.phpt b/ext/posix/tests/posix_access_safemode.phpt index 1e156f9515..e346149fb5 100644 --- a/ext/posix/tests/posix_access_safemode.phpt +++ b/ext/posix/tests/posix_access_safemode.phpt @@ -11,6 +11,9 @@ if (!extension_loaded('posix')) { if (posix_geteuid() == 0) { die('SKIP Cannot run test as root.'); } +if (PHP_VERSION_ID < 503099) { + die('SKIP Safe mode is no longer available.'); +} --INI-- safe_mode = 1 --FILE-- diff --git a/ext/posix/tests/posix_mkfifo_safemode.phpt b/ext/posix/tests/posix_mkfifo_safemode.phpt index 9dbddc2611..47caf5d3ee 100644 --- a/ext/posix/tests/posix_mkfifo_safemode.phpt +++ b/ext/posix/tests/posix_mkfifo_safemode.phpt @@ -17,6 +17,9 @@ if (!extension_loaded('posix')) { if (posix_geteuid() == 0) { die('SKIP Cannot run test as root.'); } +if (PHP_VERSION_ID < 503099) { + die('SKIP Safe mode is no longer available.'); +} ?> --INI-- safe_mode = 1 |
