Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15298
Modified Files:
serendipity_config.inc.php
Log Message:
PLEASE TEST, THIS IS IMPORTANT!
* Fix CSS not visible in upgrader (there must be a cleaner way to do
this, I admit I feel bad with this solution)
* Fix SQL index key creation, the parse_sql regexp didn't catch many
lines. Create those missing SQL keys for alpha10 upgrade
* Upgrader didn't emit SQL error messages
* serendipity_db_query is now able to expect errors (like for this
alpha10 upgrade)
PLEASE TEST, THIS IS IMPORTANT!
Index: serendipity_config.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_config.inc.php,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- serendipity_config.inc.php 13 Jan 2005 18:09:38 -0000 1.133
+++ serendipity_config.inc.php 19 Jan 2005 10:22:10 -0000 1.134
@@ -16,7 +16,7 @@
include_once(S9Y_INCLUDE_PATH . 'include/compat.inc.php');
// The version string
-$serendipity['version'] = '0.8-alpha9';
+$serendipity['version'] = '0.8-alpha10';
// Name of folder for the default theme
$serendipity['defaultTemplate'] = 'default';
@@ -248,6 +248,11 @@
*/
if (IS_up2date === false && !defined('IN_upgrader')) {
+ if (preg_match(PAT_CSS, $_SERVER['REQUEST_URI'], $matches)) {
+ $css_mode = 'serendipity_admin.css';
+ return 1;
+ }
+
die(sprintf(SERENDIPITY_NEEDS_UPGRADE, $serendipity['versionInstalled'], $serendipity['version'], $serendipity['serendipityHTTPPath'] . 'serendipity_admin.php'));
}
|