@@ -1,4 +1,4 @@
|
|||||||
<?php # $Id$
|
<?php #
|
||||||
|
|
||||||
if (IN_serendipity !== true) {
|
if (IN_serendipity !== true) {
|
||||||
die ("Don't hack!");
|
die ("Don't hack!");
|
||||||
@@ -30,7 +30,7 @@ $data['basedir'] = $basedir;
|
|||||||
$data['phpversion'] = phpversion();
|
$data['phpversion'] = phpversion();
|
||||||
$data['versionInstalled'] = $serendipity['versionInstalled'];
|
$data['versionInstalled'] = $serendipity['versionInstalled'];
|
||||||
$data['templatePath'] = $serendipity['templatePath'];
|
$data['templatePath'] = $serendipity['templatePath'];
|
||||||
$data['serendipityHTTPPath'] = str_replace('//', '/', dirname($_SERVER['PHP_SELF']) . '/');
|
$data['installerHTTPPath'] = str_replace('//', '/', dirname($_SERVER['PHP_SELF']) . '/');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks a return code constant if it's successfull or an error and return HTML code
|
* Checks a return code constant if it's successfull or an error and return HTML code
|
||||||
@@ -369,10 +369,6 @@ if ( (int)$serendipity['GET']['step'] == 0 ) {
|
|||||||
if ( serendipity_updateConfiguration() ) {
|
if ( serendipity_updateConfiguration() ) {
|
||||||
$data['s9y_installed'] = true;
|
$data['s9y_installed'] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
$data['templatePath'] = $serendipity['templatePath'];
|
|
||||||
$data['serendipityHTTPPath'] = str_replace('//', '/', dirname($_SERVER['PHP_SELF']) . '/');
|
|
||||||
|
|
||||||
echo serendipity_smarty_show("admin/installer.inc.tpl", $data);
|
echo serendipity_smarty_show("admin/installer.inc.tpl", $data);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
<meta charset="{$CONST.LANG_CHARSET}">
|
<meta charset="{$CONST.LANG_CHARSET}">
|
||||||
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}</title>
|
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="{$serendipityHTTPPath}{serendipity_getFile file='admin/style.css'}">
|
<link rel="stylesheet" href="{$installerHTTPPath}{serendipity_getFile file='admin/style.css'}">
|
||||||
<script src="{$serendipityHTTPPath}{$templatePath}jquery.js"></script>
|
<script src="{$installerHTTPPath}{$templatePath}jquery.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body id="serendipity_admin_page">
|
<body id="serendipity_admin_page">
|
||||||
<header id="top">
|
<header id="top">
|
||||||
|
|||||||
Reference in New Issue
Block a user