yellowled wrote:While we're at it, I have to admit that Dogma is actually one of the very few flicks by Kevin Smith which I don't like.
YL
Now this is getting off-topic, but anyway. It's definitely not his best movie, but I haven't seen anything since Clerks II. (The original Clerks is one of my favorite movies of all time ...)
Btw: Is someone capable of mixing the S9y logo with this? Would result in a nice logo for Metatron
Now mattsches just needs to commit the actual project files. (Unless I did something wrong.)
YL
I will have a look to the github project .
I've played around with symfony console and created some simple components (composer ready). Take a look to configuration format converter if you want to. I extended the existing application with a IOInterface (influenced by composer) to get rid of the io handling .
To extend the userbase for testing, you might need to add a dummy description on how to use it for what in detail here, since not everybody is knowing the usage and possible benefits. This starts telling, that it is used to install or administrate Serendipity by CLI console with some very simple commands, am I right?
Timbalu wrote:To extend the userbase for testing, you might need to add a dummy description on how to use it for what in detail here, since not everybody is knowing the usage and possible benefits.
Timbalu wrote:To extend the userbase for testing, you might need to add a dummy description on how to use it for what in detail here, since not everybody is knowing the usage and possible benefits. This starts telling, that it is used to install or administrate Serendipity by CLI console with some very simple commands, am I right?
Thanks for the feedback, Ian! I wanted to push it to GitHub as soon as possible, that's why the README contains only the most important information. Since the tool is aimed at admins and developers, they will know what to do hopefully
But I will add some more info and documentation later!
Two small changes in serendipity_config.inc.php seem to be necessary for Metatron to work correctly. If nobody has any objections, I will commit the following change to the 2.0 branch:
$ git diff serendipity_config.inc.php
diff --git a/serendipity_config.inc.php b/serendipity_config.inc.php
index a55f475..99c21c7 100644
--- a/serendipity_config.inc.php
+++ b/serendipity_config.inc.php
@@ -8,7 +8,7 @@ if (defined('S9Y_FRAMEWORK')) {
@define('S9Y_FRAMEWORK', true);
-if (!headers_sent()) {
+if (!headers_sent() && php_sapi_name() !== 'cli') {
// Only set the session name, if no session has yet been issued.
if (session_id() == '') {
session_name('s9y_' . md5(dirname(__FILE__)));
@@ -312,7 +312,7 @@ if ( (isset($serendipity['autodetect_baseURL']) && serendipity_db_bool($serendip
* If a user is logged in, fetch his preferences. He possibly wants to have a different language
*/
-if (IS_installed === true) {
+if (IS_installed === true && php_sapi_name() !== 'cli') {
// Import HTTP auth (mostly used for RSS feeds)
if ($serendipity['useHTTP-Auth'] && (isset($_REQUEST['http_auth']) || isset($_SERVER['PHP_AUTH_USER']))) {
if (!isset($_SERVER['PHP_AUTH_USER'])) {
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
I've been working on the update for quite a while every now and then. Today I felt I had to push things forward, so I committed my changes. It's quite a large commit and, even if my tests are all green, may still contain some bugs. So, please don't use in production!!