mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
user favourites
This commit is contained in:
parent
93b2a8617a
commit
7734c6cf04
27 changed files with 248 additions and 29 deletions
19
web/delete/favorite/index.php
Normal file
19
web/delete/favorite/index.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
echo 'delete Favorites<br>';
|
||||
|
||||
|
||||
error_reporting(NULL);
|
||||
ob_start();
|
||||
session_start();
|
||||
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
|
||||
$v_section = escapeshellarg($_REQUEST['v_section']);
|
||||
$v_unit_id = escapeshellarg($_REQUEST['v_unit_id']);
|
||||
|
||||
exec (VESTA_CMD."v-delete-user-favourites ".$_SESSION['user']." ".$v_section." ".$v_unit_id, $output, $return_var);
|
||||
check_return_code($return_var,$output);
|
||||
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue