Notice to module developers.

Notice to module developers.

 

It would be nice to build the code of your modules while respecting the basics.

 

I noticed that many were not the <? Php at the beginning of the script, but were only <? Which generates a big problem for me with debian 8

 

 

I just make this little remark because I have to check each module every time.

 

Thank you

 

Avis aux dévelopeurs de modules.

 

Il serait bien de contruire le code de vos modules en respectant bien les bases.

 

J'ai remarqué que beaucoup ne m'étaient pas le <?php en début du script, mais m'étaient uniquement <? ce qui engendre un gros problème pour moi avec débian 8

 

Je fais juste cette petite remarque car je dois à chaque fois vérifier chaque module.

 

Merci

notice.GIF · 77.7K · 485 views
http://www.maillarbaux.org/support
Quote · 2 Dec 2016

short_open_tag off    ???

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 2 Dec 2016

As Dolphin_Jay suggested; I would think this would have more to do with settings in PHP than the particular distro of Linux.

Geeks, making the world a better place
Quote · 2 Dec 2016

 

As Dolphin_Jay suggested; I would think this would have more to do with settings in PHP than the particular distro of Linux.

It's still really bad practice and needs to stop. But yes, Dolphin requires short_open_tag be enabled. It shouldn't, but it does.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 3 Dec 2016

 

 

As Dolphin_Jay suggested; I would think this would have more to do with settings in PHP than the particular distro of Linux.

It's still really bad practice and needs to stop. But yes, Dolphin requires short_open_tag be enabled. It shouldn't, but it does.

I agree and goes against Boonex's current coding guidelines.  Any short open tags that still exists in the Dolphin code should be replaced.

Geeks, making the world a better place
Quote · 3 Dec 2016

That is no longer a dolphin requirement. The newer versions of dolphin have replaced all the short tags.

Any of my modules that still used them are being changed as i update them.

But yea. Enabling short_open_tag in your php configuration will prevent you from having to manually go though all of the modules.

https://www.deanbassett.com
Quote · 3 Dec 2016

Thank you for your answers. I will do what you told me and it is true that I frankly did not think of it. Thank you for your advice.

http://www.maillarbaux.org/support
Quote · 3 Dec 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.