[Vtigercrm-developers] Vtiger Marketplace Extension - Check for ionCube

Daniel Leicht | actato daniel.leicht at actato.com
Mon Aug 29 08:41:29 GMT 2016


That was my idea too, but as we all know, Vtiger loads all modules on default, on every page, which means that the main module file (<Module>_Module_Model) has not to be encoded too and is not able to load any other module files which may be encoded to avoid a total CRM crash..

Maybe it would be useful to add a check method (optional maybe) or a new event type to give the possibility for the extension’s install file to check the system for requirements.. That doesn’t only affect ionCube or ZendGuard loader but also some other php-extensions like gdlib or something..


Mit besten Grüßen / with best regards

Daniel Leicht

Actato UG
Berliner Strasse 27
D-84478 Waldkraiburg

Tel.: +49 (0) 8638 869917 0
Mobil: +49 (0) 174 322 789 9
E-mail: info at actato.com<mailto:jozef.nano at actato.com>
Web: www.actato.com

Geschäftsführer: Jozef Nano
Sitz der Gesellschaft: Waldkraiburg

Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank.

This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.

Please consider the environment before printing this e-mail

From: <vtigercrm-developers-bounces at lists.vtigercrm.com> on behalf of Prasad <prasad at vtiger.com>
Reply-To: "vtigercrm-developers at lists.vtigercrm.com" <vtigercrm-developers at lists.vtigercrm.com>
Date: Montag, 29. August 2016 um 10:15
To: "vtigercrm-developers at lists.vtigercrm.com" <vtigercrm-developers at lists.vtigercrm.com>
Subject: Re: [Vtigercrm-developers] Vtiger Marketplace Extension - Check for ionCube

One approach ...have the files essentially required to work on standard setup (without loader) not be encoded.
This can let you test the loader and handle the warning and avoid user be taken by surprise after purchase or installation.

--
FB<http://www.facebook.com/vtiger> I Twit<http://twitter.com/vtigercrm> I LIn<https://www.linkedin.com/company/1270573?trk=tyah> I Blog<https://blogs.vtiger.com> I Website<https://www.vtiger.com/>

On Mon, Aug 29, 2016 at 1:08 PM, Daniel Leicht | actato <daniel.leicht at actato.com<mailto:daniel.leicht at actato.com>> wrote:
Hello Devs,

we uploaded our first extension to the marketplace and after the first review, the extension got rejected with the following issue:
“ionCube loader would not be installed by default - module should handle this case both during install and runtime. Should not crash the CRM when its disabled at sometime later.”

We are encoding all of our sold products with ionCube, so we have to check if the customer’s system has ionCube loader installed already.
Now my question is: How am I able to check for if ionCube-Loader is installed in the setup process? As far as I know there is no event to handle before or during the installation, but only the ‘module.postinstall'-Event..




Mit besten Grüßen / with best regards

Daniel Leicht

Actato UG
Berliner Strasse 27
D-84478 Waldkraiburg

Tel.: +49 (0) 8638 869917 0
Mobil: +49 (0) 174 322 789 9
E-mail: info at actato.com<mailto:jozef.nano at actato.com>
Web: www.actato.com<http://www.actato.com>

Geschäftsführer: Jozef Nano
Sitz der Gesellschaft: Waldkraiburg

Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank.

This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.

Please consider the environment before printing this e-mail

_______________________________________________
http://www.vtiger.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20160829/7f258b72/attachment-0001.html>


More information about the vtigercrm-developers mailing list