Announcement

  •  » Miscellaneous
  •  » Cobol 88 levels.....Re:debug statements in piwigo. Needs to be added.

#1 2020-08-18 14:09:44

Alexander83706
Member
Boise
2019-07-07
148

Cobol 88 levels.....Re:debug statements in piwigo. Needs to be added.

Hello/Hi/Greetings,

I have a request...For 2.11 piwigo.   

I ran across a couple of pwg_debug statements by accident on the last hour or two of playtime.....
Doing that again. I"ve run across about 60 or so debug statements....

Could you do me a favor ?   Cobol had an 88 level that would execute if a global variable was set to 'debug' .

if (debug) (
    execute code....;
}
else{
    return;
};

At this end, you set the debug indicator once and it pops off one direction or the other.  You get a hundred messages/tests or you get none....... Just so long as the admin guy knows which way the debug  indicator is set.
Last time I played with pwg_debug I was amazed at the speed improvement on my home machine. If I am serving up any content to anyone. It would make a huge difference.....

Oh, btw. your installer isn't working.....:)


Piwigo version: 2.10
PHP version: 7.2
MySQL version: 5.7
Piwigo URL:

Last edited by Alexander83706 (2020-08-23 11:14:09)

Offline

 
  •  » Miscellaneous
  •  » Cobol 88 levels.....Re:debug statements in piwigo. Needs to be added.

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact