Skip to content

Commit

Permalink
Prevent included scripts from creating output.
Browse files Browse the repository at this point in the history
  • Loading branch information
dainnilsson committed Oct 29, 2014
1 parent ecf0248 commit 0a46069
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ykksm-decrypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

ob_start();
require_once 'ykksm-config.php';
require_once 'ykksm-utils.php';
ob_end_clean();

openlog("ykksm", LOG_PID, $logfacility)
or die("ERR Syslog open error\n");
Expand Down

0 comments on commit 0a46069

Please sign in to comment.