Plugin Directory

Changeset 1904253


Ignore:
Timestamp:
07/05/2018 02:14:33 AM (8 years ago)
Author:
kingthemes
Message:

security update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kingcomposer/trunk/includes/kc.extensions.php

    r1904113 r1904253  
    168168            echo '<center><h2 style="color: #888; margin-top: 50px">'.__('Error, could not create extensions folder '.$this->path, 'kingcomposer').'</h2></center>';
    169169            return;
     170        } else if (!is_file($this->path.'index.html')) {
     171            @file_put_contents($this->path.'index.html', '');
    170172        }
    171173       
Note: See TracChangeset for help on using the changeset viewer.