Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Auto flush OCmod log file

SooR ★★★★★ 8 reviews 540 завантажень 10,011 02/17/2023
1.0.0 Ioncube Loader: Ні
Безкоштовно
OpenCart3.0, 2.3, 2.2, 2.1, 2.0
ocStore3.0, 2.3, 2.2, 2.1
License type
Activation method Без активации
Ioncube LoaderНі
Get request to server of developerНі
Downloads540
Submitted08/02/2019
Updated02/17/2023
File Size995 B

User Feedback

The extension is intended for those who use a lot of modifiers, update them often and at the same time observe brakes when loading a page with modifiers.

According to my observations, for every 4th this log (ocmod.log) grows to huge sizes, which is loaded into the browser every time you open the modifiers page.

 

The extension clears this log when it reaches 3 mb. Checking for the log size is carried out every time you go to the modifiers page.

Code insertion is minimal:

if (is_file(DIR_LOGS . 'ocmod.log') && filesize(DIR_LOGS . 'ocmod.log') > 1024 * 1024 * 3) {
  $handle = fopen(DIR_LOGS . 'ocmod.log', 'w+');

  fclose($handle);

  $this->session->data['success'] = 'Log is clean!';
}

After cleaning, you will see a message "Log is clean!".

See version support on the right →

Характеристики

Activation method Без активации
Ioncube LoaderНі
В продажеДа
OpenCart3.0, 2.3, 2.2, 2.1, 2.0
ocStore3.0, 2.3, 2.2, 2.1
OpenCart.Pro, ocShopOpencart.pro 2.3, Opencart.pro 2.1, OcShop 2.0.3.х
Get request to server of developerНі
If the developer server is unavailableДополнение работает
СкидкаNo
Template compatible-/-
AdaptationПлатная
Версія1.0.0
File Size995 B
Submitted08/02/2019
Updated02/17/2023
  • +1 11

SooR's Other Downloads


  • Recently Browsing   0 members

    • No registered users viewing this page.
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.