From: garvinhicking Date: Mon, 16 Jan 2006 18:45:31 +0000 (+0000) Subject: some path fixes X-Git-Tag: 1.0~167 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d86d54b2d4a0a4c0e651c3a104d7fa080cebd1c0;p=s9y.git some path fixes --- diff --git a/include/functions_installer.inc.php b/include/functions_installer.inc.php index 9ed4137..6c90eb8 100644 --- a/include/functions_installer.inc.php +++ b/include/functions_installer.inc.php @@ -677,7 +677,7 @@ function serendipity_checkInstallation() { $serendipity['dbType'] = $_POST['dbType']; // Probe database // (do it after the dir stuff, as we need to be able to create the sqlite database) - include_once($_POST['serendipityPath'] . 'include/db/db.inc.php'); + @include_once($_POST['serendipityPath'] . 'include/db/db.inc.php'); // For shared installations, probe the file on include path include_once(S9Y_INCLUDE_PATH . 'include/db/db.inc.php'); diff --git a/serendipity.css.php b/serendipity.css.php index 17dea0d..962415f 100644 --- a/serendipity.css.php +++ b/serendipity.css.php @@ -58,7 +58,7 @@ if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false) { header('Content-type: text/css'); if (IS_installed === false) { - if (file_exists('templates/' . $serendipity['defaultTemplate'] . '/' . $css_file)) { + if (file_exists(S9Y_INCLUDE_PATH . 'templates/' . $serendipity['defaultTemplate'] . '/' . $css_file)) { echo serendipity_printStylesheet('templates/' . $serendipity['defaultTemplate'] . '/' . $css_file); } die();