1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<?php require_once(dirname(__FILE__) . '/admin-globals.php'); require_once(dirname(__FILE__) . '/reconfigure.php');
list($diff, $needs) = checkSignature(TEST_RELEASE || isset($_GET['xsrfToken']) && $_GET['xsrfToken'] == getXSRFToken('setup')); if (empty($needs)) { header('Location: setup/index.php'); } else { header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); header('Content-Type: text/html; charset=utf-8'); ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <link rel="stylesheet" href="<?php echo WEBPATH . '/' . ZENFOLDER; ?>/admin.css" type="text/css" /> <?php reconfigureCS(); ?> </head> <body> <div id="main"> <div id="content"> <div class="tabbox"> <p> <?php if (zpFunctions::hasPrimaryScripts()) { printf(gettext('You must restore the setup files from the %1$s [%2$s] release.'), ZENPHOTO_VERSION, ZENPHOTO_RELEASE); } else { echo gettext('You must restore the setup files on your primary installation to run the setup operation.'); } ?> </p> </div> </div> </div> </body> </html> <?php } ?>
|