Skip to content

Instantly share code, notes, and snippets.

View t0nic's full-sized avatar

Ed t0nic

  • CZVPN
View GitHub Profile
@t0nic
t0nic / flexy-dashboard-cards.markdown
Created November 9, 2018 10:18
Flexy Dashboard Cards
@t0nic
t0nic / core.php
Last active October 1, 2018 21:59
Modifcation of the core.php save_file () function on https://github.com/nokonoko/Uguu to clear exif data.
//Saving the file on the server
function save_file ($file, $name, $arg, $type){
// Verify extension
$ext = pathinfo($file.$name, PATHINFO_EXTENSION);
$ext = strtolower($ext);
verify_extension($ext, $type);
// Clear exif data from jpeg images
if ($ext == '.jpg' || $ext == '.jpeg')