commit bf63e9cd2a38f95265e72973a4eb57ec6f9cb694
parent 5a56168a87727e6cda7144cab18446f27d328b1a
Author: markseu <mark2011@mayberg.se>
Date: Fri, 25 Jul 2014 13:11:38 +0200
Core update (hot summer remix with ice coffee)
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/system/config/default.txt b/system/config/default.txt
@@ -1,4 +1,4 @@
---
-Title: New page
+Title: Page
---
-Write text here
-\ No newline at end of file
+This is a new page.
+\ No newline at end of file
diff --git a/system/core/core-commandline.php b/system/core/core-commandline.php
@@ -5,7 +5,7 @@
// Command line core plugin
class YellowCommandline
{
- const Version = "0.3.6";
+ const Version = "0.3.7";
var $yellow; //access to API
var $content; //number of content pages
var $media; //number of media files
@@ -428,8 +428,8 @@ class YellowCommandline
// Check if directory contains Yellow files
function isYellowDirectory($path)
{
- $systemFile = preg_split("/,\s*/", $this->yellow->config->get("commandlineSystemFile"))[0];
- return is_file("$path/yellow.php") || is_file("$path/$systemFile");
+ $fileNamesSystem = preg_split("/,\s*/", $this->yellow->config->get("commandlineSystemFile"));
+ return is_file("$path/yellow.php") || is_file("$path/$fileNamesSystem[0]");
}
}