Author: jfthomps
Date: Thu Nov 6 20:03:06 2014
New Revision: 1637201
URL: http://svn.apache.org/r1637201
Log:
added checks for dojo css in themes directories
Modified:
vcl/trunk/web/testsetup.php
Modified: vcl/trunk/web/testsetup.php
URL:
http://svn.apache.org/viewvc/vcl/trunk/web/testsetup.php?rev=1637201&r1=1637200&r2=1637201&view=diff
==============================================================================
--- vcl/trunk/web/testsetup.php (original)
+++ vcl/trunk/web/testsetup.php Thu Nov 6 20:03:06 2014
@@ -474,6 +474,18 @@ else
fail(".ht-inc/spyc-0.5.1 directory does not exist. Download and install
Spyc 0.5.1");
print "</ul>\n";
+# check themes directories for dojo content having been copied in
+title("Checking themes for dojo css");
+$themes = scandir('themes');
+foreach($themes as $theme) {
+ if($theme == '.' || $theme == '..' || $theme == 'copydojocss.sh')
+ continue;
+ if(is_dir("themes/$theme/css/dojo") &&
is_file("themes/$theme/css/dojo/{$theme}.css"))
+ pass("themes/$theme has had dojo css copied to it");
+ else
+ fail("themes/$theme is missing dojo css. Run
themes/copydojocss.sh from the themes directory to correct this if you want to
use this theme.");
+}
+
# php display errors
title("Checking value of PHP display_errors");
$a = ini_get('display_errors');