Additional comicpress-debug.php install checking and the v3cr.png file for the new layout.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-12-13 10:16:19 -08:00
parent 6c21ad462c
commit f2e33119d3
2 changed files with 8 additions and 2 deletions

View File

@ -24,6 +24,12 @@ function comicpress_notice_debug() {
$error[] = __('ComicPress stores the files it uses inside a specific directory and that directory is set within the comicpress-config.php or you can configure it from within ComicPress Manager. When this error is present it means that the theme is unable to find the appropriate directory to read the comics from.','comicpress');
}
// Make sure the ComicPress theme is installed in themes/comicpress
if (ABSPATH . 'wp-content/themes/comicpress' != get_template_directory()) {
$error[] = array('header', __('ComicPress theme is not installed into the correct folder.','comicpress'));
$error[] = __('As of version 2.9, the ComicPress main core theme is required to be installed into the wp-content/themes/comicpress directory. It is currently not installed into that directory.','comicpress');
}
if (!empty($error)) {
?>
<div class="error">

BIN
images/options/v3cr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB