From dee5d2fbfc3ed6bf8f497d127670a40c555d6180 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Wed, 12 Aug 2009 15:50:42 -0300 Subject: [PATCH] Ensure nanobsd save tmp files under /root --- etc/rc.php_ini_setup | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/etc/rc.php_ini_setup b/etc/rc.php_ini_setup index 03f3766231..08aed85a80 100755 --- a/etc/rc.php_ini_setup +++ b/etc/rc.php_ini_setup @@ -31,9 +31,7 @@ EXTENSIONSDIR="/usr/local/lib/php/20060613/" APCSHMEMSIZE="25" # Set upload directory -if [ "$PLATFORM" = "embedded" ]; then - UPLOADTMPDIR="/root" -elif [ "$PLATFORM" = "embedded" ] ; then +if [ "$PLATFORM" = "embedded" -o "$PLATFORM" = "nanobsd" ]; then UPLOADTMPDIR="/root" else UPLOADTMPDIR="/tmp"