Blesta Addons Posted July 26, 2014 Report Posted July 26, 2014 we are dealing with template , we have found that $client->settings return a very sensative info for company , is this normal ?! Array ( [amazons3_access_key] => ssssssssssss [amazons3_bucket] => [amazons3_rate] => 24 [amazons3_secret_key] => sssssssssssssss [auto_apply_credits] => true [auto_paid_pending_services] => true [autodebit] => true [autodebit_attempts] => 1 [autodebit_days_before_due] => 1 [autosuspend] => true [calendar_begins] => monday [cancelation_fee_tax] => false [cascade_tax] => false [client_create_addons] => true [client_set_currency] => true [client_set_invoice] => true [client_set_lang] => true [client_view_dir] => bootsrap [clients_cancel_services] => false [clients_format] => {num} [clients_increment] => 1 [clients_pad_size] => 0 [clients_pad_str] => 0 [clients_start] => 1500 [country] => MA [cron_key] => [database_version] => 3.2.0-b1 [date_format] => M d, Y [datetime_format] => M d, Y g:i:s A [default_currency] => MAD [delivery_methods] => YToxOntp4546FpbCI7fQ== [enable_tax] => false [exchange_rates_auto_update] => true [exchange_rates_padding] => 3 [exchange_rates_processor] => google_finance [ftp_host] => [ftp_password] => [ftp_path] => [ftp_port] => 22 [ftp_rate] => 24 [ftp_username] => [geoip_enabled] => false [html_email] => true [interfax_password] => [interfax_username] => [inv_address_to] => 2087 [inv_background] => [inv_days_before_renewal] => 5 [inv_display_companyinfo] => true [inv_display_logo] => true [inv_display_paid_watermark] => true [inv_draft_format] => DRAFT-{num} [inv_format] => {num} [inv_increment] => 1 [inv_logo] => [inv_method] => email [inv_mimetype] => application/pdf [inv_pad_size] => 0 [inv_pad_str] => 0 [inv_paper_size] => letter [inv_start] => 1 [inv_suspended_services] => true [inv_template] => default_invoice [inv_terms] => [language] => fr_fr [license_data] => SSSSSSSS [license_key] => owned-sssssss [license_public_key] => -----BEGIN PUBLIC KEY----- wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww/QXK wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww/dKDC32I 1blWT4lXG5gPfkxhiQIDAQAB -----END PUBLIC KEY----- [log_days] => 30 [mail_delivery] => smtp [maintenance_mode] => false [maintenance_reason] => [multi_currency_pricing] => package [notice_pending_autodebit] => 1 [notice1] => -1 [notice2] => 3 [notice3] => 7 [packages_format] => {num} [packages_increment] => 1 [packages_pad_size] => 0 [packages_pad_str] => 0 [packages_start] => 1 [payments_allowed_ach] => true [payments_allowed_cc] => true [postalmethods_apikey] => [postalmethods_replyenvelope] => false [postalmethods_testmode] => true [private_key] => ssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [private_key_passphrase] => [public_key] => -----BEGIN PUBLIC KEY----- sssssssssssssss x7j/sssssssssss sssssssss+sssssssssssss Sl32iKIT912IO0U2eQIDAQAB -----END PUBLIC KEY----- [root_web_dir] => /home/ssssssss/public_html/ [services_format] => {num} [services_increment] => 1 [services_pad_size] => 0 [services_pad_str] => 0 [services_start] => 1 [setup_fee_tax] => false [shared_login.key] => ssssssssssssssss [show_currency_code] => true [smtp_host] => server.sssssssssss.com [smtp_password] => sssssssssssss [smtp_port] => 465 [smtp_security] => ssl [smtp_user] => ssssssssssss@ssssssss.com [suspend_services_days_after_due] => 7 [tax_exempt] => false [tax_id] => [temp_dir] => /tmp/ [theme_admin] => 1 [theme_client] => 13 [timezone] => Africa/Casablanca [uploads_dir] => /home/sssssssssss/uploads/ [username_type] => email )why all this data is returned ? what is important for client side Array ( [auto_apply_credits] => true [auto_paid_pending_services] => true [autodebit] => true [autodebit_attempts] => 1 [autodebit_days_before_due] => 1 [autosuspend] => true [client_create_addons] => true [client_set_currency] => true [client_set_invoice] => true [client_set_lang] => true [clients_cancel_services] => false [default_currency] => MAD [delivery_methods] => YToxOntp4546FpbCI7fQ== [enable_tax] => false [inv_method] => email [inv_mimetype] => application/pdf [language] => fr_fr [tax_exempt] => false [tax_id] => [show_currency_code] => true [username_type] => email ) Quote
0 Tyson Posted July 28, 2014 Report Posted July 28, 2014 Settings are inherited by default, so this is normal behavior. v3.3 adds a field for whether to inherit specific company settings, but it is not used to limit the inheritance of 'sensitive' settings, although it may be in the future. Michael 1 Quote
Question
Blesta Addons
we are dealing with template , we have found that $client->settings return a very sensative info for company , is this normal ?!
why all this data is returned ?what is important for client side
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.