diff --git a/conf/htconfig.sample.php b/conf/htconfig.sample.php index fad9a67..db3454a 100644 --- a/conf/htconfig.sample.php +++ b/conf/htconfig.sample.php @@ -70,7 +70,7 @@ App::$config['system']['admin_email'] = '__EMAIL__'; // Location of PHP command line processor -App::$config['system']['php_path'] = '/usr/bin/php__PHPVERSION__'; +App::$config['system']['php_path'] = 'php__PHPVERSION__'; // Configure how we communicate with directory servers. diff --git a/scripts/install b/scripts/install index 86744c2..f156eb7 100755 --- a/scripts/install +++ b/scripts/install @@ -29,7 +29,7 @@ path_url="/" admin=$YNH_APP_ARG_ADMIN email=$(ynh_user_get_info --username=$admin --key=mail) upload="256M" -random_string="$(ynh_string_random)$(ynh_string_random)$(ynh_string_random)" +random_string=$(ynh_string_random --length=32) database=`expr $YNH_APP_ARG_DATABASE` app=$YNH_APP_INSTANCE_NAME @@ -139,7 +139,7 @@ touch "$final_path/php.log" chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -chmod -R 755 $final_path/store $final_path/cache +chmod -R 775 $final_path/store $final_path/cache #================================================= # CREATE A DATABASE