Changeset 93639 in spip-zone for _core_/plugins/dump/inc/sauvegarder.php
- Timestamp:
- Dec 13, 2015, 2:37:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_core_/plugins/dump/inc/sauvegarder.php
r93610 r93639 28 28 $status_file = _DIR_TMP . basename($status_file) . ".txt"; 29 29 if (!lire_fichier($status_file, $status) 30 OR!$status = unserialize($status)30 or !$status = unserialize($status) 31 31 ) { 32 32 } else { … … 36 36 $timeout = 30; 37 37 } // parions sur une valeur tellement courante ... 38 $max_time = time() +$timeout/2;38 $max_time = time() + $timeout / 2; 39 39 40 40 include_spip('inc/minipres'); … … 46 46 echo(install_debut_html($titre)); 47 47 // script de rechargement auto sur timeout 48 echo http_script("window.setTimeout('location.href=\"" . $redirect . "\";'," . ($timeout *1000) . ")");48 echo http_script("window.setTimeout('location.href=\"" . $redirect . "\";'," . ($timeout * 1000) . ")"); 49 49 echo "<div style='text-align: left'>\n"; 50 50 … … 66 66 echo("</div>\n"); 67 67 68 if (!$res AND$redirect) {68 if (!$res and $redirect) { 69 69 echo dump_relance($redirect); 70 70 } … … 76 76 } 77 77 } 78 79 80 ?>
Note: See TracChangeset
for help on using the changeset viewer.