Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.
Please keep in mind:
CHV\Image::delete(<id>);
CHV\Image::deleteMultiple([id1, id2, idn...,]);
CHV\Album::delete(<id>);
CHV\Album::deleteMultiple([id1, id2, idn...,]);
CHV\User::delete(<id>);
$target = $image_db[$file_delete];
$cdn = str_replace("/path/to/chevereto_base/", "http://domain-or-subdomain-using.cdn/", $target);
file_get_contents('https://www.cloudflare.com/api_json.html?tkn=your-cloud-flare-api-key&email=cloudflare-acount-email&z=cloudflare-zone-domain&a=zone_file_purge&url='.$cdn);
$cloud = str_replace("/var/www/", "http://b.estimg.com/", $target);
file_get_contents('https://www.cloudflare.com/api_json.html?tkn=296522af4fd40d9d0f4fab951c442aejustkd&email=mahemail@gmail.com&z=estimg.com&a=zone_file_purge&url='.$cloud);