1
|
<?php
|
2
|
/**
|
3
|
*
|
4
|
* @category module
|
5
|
* @package droplet
|
6
|
* @author Ruud Eisinga (Ruud) John (PCWacht)
|
7
|
* @author WebsiteBaker Project
|
8
|
* @copyright Ryan Djurovich
|
9
|
* @copyright WebsiteBaker Org. e.V.
|
10
|
* @link http://websitebaker.org/
|
11
|
* @license http://www.gnu.org/licenses/gpl.html
|
12
|
* @platform WebsiteBaker 2.8.3
|
13
|
* @requirements PHP 5.3.6 and higher
|
14
|
* @version $Id: add_droplet.php 2 2017-07-02 15:14:29Z Manuela $
|
15
|
* @filesource $HeadURL: svn://isteam.dynxs.de/wb/2.10.x/trunk/modules/droplets/commands/add_droplet.php $
|
16
|
* @lastmodified $Date: 2017-07-02 17:14:29 +0200 (Sun, 02 Jul 2017) $
|
17
|
*
|
18
|
*/
|
19
|
/* -------------------------------------------------------- */
|
20
|
// Must include code to stop this file being accessed directly
|
21
|
if(defined('WB_PATH') == false) { die('Cannot access '.basename(__DIR__).'/'.basename(__FILE__).' directly'); }
|
22
|
/* -------------------------------------------------------- */
|
23
|
$droplet_id = $oApp->getIDKEY(0);
|
24
|
if ($oApp->get_permission('admintools') == true) {
|
25
|
$modified_when = time();
|
26
|
$modified_by = intval($oApp->get_user_id());
|
27
|
}
|