芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/design.pulsehost.co.uk/application/updating/updating_examples.php
'[updating-functions]', config('app.debug_ref'), 'function' => __function__, 'file' => basename(__FILE__), 'line' => __line__, 'path' => __file__, 'project_id' => 1]); //only logged in user if (!auth()->check()) { return; } //only th eadmin if (auth()->id() != 1) { return; } //execut code here //log Log::info("updating function (foo feature) has completed", ['process' => '[updating-functions]', config('app.debug_ref'), 'function' => __function__, 'file' => basename(__FILE__), 'line' => __line__, 'path' => __file__, 'project_id' => 1]); } /** * [EXAMPLE - CRONJOB UPDATE] * * @date - August 2022 * * @version - 1.11 * * @details * - routines for Grow CRM update version 1.11 * - does not require admin user to execute * - must be marked as 'completed' once its done * */ function cronjob_update_0_00_part_1() { //log Log::info("updating function (foo feature) has started", ['process' => '[updating-functions]', config('app.debug_ref'), 'function' => __function__, 'file' => basename(__FILE__), 'line' => __line__, 'path' => __file__, 'project_id' => 1]); //execut code here //log Log::info("updating function (foo feature) has completed", ['process' => '[updating-functions]', config('app.debug_ref'), 'function' => __function__, 'file' => basename(__FILE__), 'line' => __line__, 'path' => __file__, 'project_id' => 1]); }