Changeset 115820 in spip-zone


Ignore:
Timestamp:
Jun 28, 2019, 9:24:10 PM (3 weeks ago)
Author:
jluc@…
Message:

accelerer_jobs

Location:
_plugins_/accelerer_jobs/trunk/action
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/accelerer_jobs/trunk/action/accelerer_jobs.php

    r115615 r115820  
    2828        if (is_null ($args)) {
    2929                $securiser_action = charger_fonction ('securiser_action', 'inc');
    30                 list ($function, $nb) = explode ('/', $securiser_action());
     30                $args = $securiser_action();
    3131        }
     32        list ($function, $nb) = explode ('/', $args);
    3233        spip_log("### (function, nb) = ($function, $nb)", 'accelerer_job');
    3334        if (!$function or !is_string($function)) {
  • _plugins_/accelerer_jobs/trunk/action/accelerer_jobs_async.php

    r115615 r115820  
    3131        if (is_null ($args)) {
    3232                $securiser_action = charger_fonction ('securiser_action', 'inc');
    33                 list ($function, $nb) = explode ('/', $securiser_action());
     33                $args = $securiser_action();
    3434        }
     35        list ($function, $nb) = explode ('/', $args);
    3536
    3637        // Si fsockopen est possible, on lance le cron via un socket
Note: See TracChangeset for help on using the changeset viewer.