From 0e19a9b420794824beead1cbc5bfebe0ae689c8b Mon Sep 17 00:00:00 2001 From: Netkas Date: Thu, 11 Aug 2022 16:11:41 -0400 Subject: [PATCH] Updated ncc.ini --- src/config/ncc.ini | 42 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/src/config/ncc.ini b/src/config/ncc.ini index 94b5070..4c40c2b 100644 --- a/src/config/ncc.ini +++ b/src/config/ncc.ini @@ -1,6 +1,42 @@ +[ncc] +# The default data directory that is used by NCC to store packages, +# cache, configuration files and other generated files. This includes +# data stored by packages using the NCC storage API. +data_directory=/var/ncc + + [php] -# Configuration for the PHP configuration that NCC will use to run +# Configuration section for the PHP configuration that NCC will use to run + +# The main executable path for PHP that NCC should use executable_path=/usr/bin/php -[ncc] -data_directory=/var/ncc \ No newline at end of file +# Enables/Disables the environment configuration feature +# Allowing packages to install environment configurations to NCC +# that can be loaded during runtime using the NCC API +# +# If disabled packages may break if they depend on this feature. +# +# Leaving this enabled while installing and using unknown packages +# without reviewing their source code could lead to potential security +# issues/backdoors, use this feature for containerized environments +enable_environment_configurations=False + +# Enables/Disables the injection of NCC's include path +# during the initialization phase allowing you to import +# packages using the `import()` function and other ncc +# API Functions without needing to require NCC's autoloader +# +# This feature is highly recommended to be enabled +enable_include_path=True + +[git] +executable_path=/usr/bin/git + +[composer] +# When enabled, NCC will use it's builtin version of composer +# to execute composer tasks, if disabled it will fallback to +# the `executable_path` option and attempt to use that specified +# location of composer +enable_internal_composer=True +executable_path=/home/user/composer.phar \ No newline at end of file