From 7a61a71ad7d51024e6d64ec71d2c652aecfe186f Mon Sep 17 00:00:00 2001 From: clrkrompets <75974277+clrkrompets@users.noreply.github.com> Date: Tue, 9 Sep 2025 13:05:26 +0300 Subject: [PATCH] Update the control_panel_integration documentation --- .../cloudlinuxos/control_panel_integration/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/cloudlinuxos/control_panel_integration/README.md b/docs/cloudlinuxos/control_panel_integration/README.md index e91e63286..fcc64f18a 100644 --- a/docs/cloudlinuxos/control_panel_integration/README.md +++ b/docs/cloudlinuxos/control_panel_integration/README.md @@ -694,6 +694,18 @@ E.g. if the control panel has two domains: `user1.com` |--name, -n|False|Used for filtering output; set a name of the domain, to display information about it| |--with-php|False (X-Ray support only)|Used for extending output with PHP configuration, required by X-Ray (available since API v1.2, see [versioning](./#versioning))| +:::warning IMPORTANT +Do not add the **--with-php** flag to the **integration.ini** file. +The integration script must only support it as optional parameter. +All logic of running the script with or without this parameter is handled on the CloudLinux side. + +✅ Correct: +`domains = /opt/cpvendor/bin/vendor_integration_script domains` + +❌ Not allowed: +`domains = /opt/cpvendor/bin/vendor_integration_script domains --with-php` +::: + **Output example**