diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2019-04-29 08:20:56 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2019-04-29 08:20:56 +0000 |
| commit | a2c95c8c19ee24f5cdaddcb1dda9b51959c16e89 (patch) | |
| tree | 78929c20b891f470370457e4b8c6e14bb0fcdb6f /views/mods/mod_export/profil.phtml | |
| parent | 3e4732295bcdb021e6dbffad0bc8d19157ca7862 (diff) | |
- Cron nur über URL aufrufbar
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7400 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_export/profil.phtml')
| -rw-r--r-- | views/mods/mod_export/profil.phtml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/views/mods/mod_export/profil.phtml b/views/mods/mod_export/profil.phtml index af4236b..5a946c3 100644 --- a/views/mods/mod_export/profil.phtml +++ b/views/mods/mod_export/profil.phtml @@ -89,8 +89,7 @@ <?php echo wpsg_drawForm_Text(__('Pfad', 'wpsg'), $this->view['profil']['cron_path'], 'cron_path', array('inlineEdit' => true, 'inlineEdit_url' => $inlineEdit_url)); ?>
<?php echo wpsg_drawForm_Text(__('Letzte Ausführung', 'wpsg'), (($this->view['profil']['cron_lastrun'] == '0000-00-00')?__('Noch nie', 'wpsg'):wpsg_formatTimestamp($this->view['profil']['cron_lastrun'], true)), false, array('noP' => false)); ?>
- <?php echo wpsg_drawForm_Text(__('Cron Pfad', 'wpsg'), WPSG_PATH.DIRECTORY_SEPARATOR.'cron.php', false, array('noP' => false)); ?>
- <?php echo wpsg_drawForm_Text(__('Cron URL', 'wpsg'), '<a href="'.WPSG_PLUGIN_URL.WPSG_FOLDERNAME.'/cron.php">'.WPSG_PLUGIN_URL.WPSG_FOLDERNAME.'/cron.php</a>', false, array('noP' => false)); ?>
+ <?php echo wpsg_drawForm_Text(__('Cron URL', 'wpsg'), '<a href="'.site_url().'/?wpsg_cron=1">'.site_url().'/?wpsg_cron=1</a>', false, array('noP' => false)); ?>
<?php if ($this->view['profil']['export_type'] === wpsg_mod_export::TYPE_ORDER) { ?>
<fieldset id="wpsg_mod_export_orderfilter">
|
