Location: PHPKode > projects > Dev's CMS > devscms/admin/modules/gallery/remove.php
<?php

if (!isset($_GET['t'])) {
	die;
}

$type = $_GET['t'];

switch ($type) {
	
	// Pictures
	case 'p':
		$id = $_GET['id'];
		$galleryPictures->remove($id);
		break;
	
	// Albums
	case 'a':
		$id = $_GET['id'];
		$galleryAlbums->remove($id);
		break;
}

exit('1');
Return current item: Dev's CMS