Project

General

Profile

« Previous | Next » 

Revision 1641

Added by Dietmar over 12 years ago

+ move admin/themes/templates/ to admin/skel/themes/htt/
! and update class.wb.php, upgrade-script.php

View differences:

class.wb.php
439 439
		if (file_exists(THEME_PATH.'/templates/'.$sThemeFile )) {
440 440
			$sRetval = THEME_PATH.'/templates/'.$sThemeFile;
441 441
		} else {
442
			if (file_exists(ADMIN_PATH.'/themes/templates/'.$sThemeFile ) ) {
443
			$sRetval = ADMIN_PATH.'/themes/templates/'.$sThemeFile;
442
			if (file_exists(ADMIN_PATH.'/skel/themes/htt/'.$sThemeFile ) ) {
443
			$sRetval = ADMIN_PATH.'/skel/themes/htt/'.$sThemeFile;
444 444
			} else {
445 445
				throw new InvalidArgumentException('missing template file '.$sThemeFile);
446 446
			}

Also available in: Unified diff