Project

General

Profile

« Previous | Next » 

Revision 1570

Added by Dietmar almost 13 years ago

added $module_directory to make quickskin directory changes dynamically

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
=========================== add small Features 2.8.2 ==========================
14
10 Jan-2012 Build 1570 Dietmar Woellbrink (Luisehahne)
15
!  added $module_directory to make quickskin directory changes dynamically
14 16
10 Jan-2012 Build 1569 Werner v.d.Decken(DarkViper)
15 17
# possible errors on 'save password' fixed. Minimum length of password set to 6 chars
16 18
10 Jan-2012 Build 1568 Dietmar Woellbrink (Luisehahne)
branches/2.8.x/wb/include/quickSkin_alpha/wb_quickSkin_28.php
9 9

  
10 10
// use Debug Mode?
11 11
$debugmode = false;
12
// make directory changes more flexible
13
$module_name = 'quickSkin';
14
$module_directory = basename(dirname(__FILE__));
12 15

  
13 16
$aMsg = array();
14 17
require_once(WB_PATH.'/framework/functions.php');
15 18
// COMPILED TEMPLATES
16
$_CONFIG['quickskin_compiled'] = WB_PATH.'/temp/quickSkin/_skins_tmp/';
19
$_CONFIG['quickskin_compiled'] = WB_PATH.'/temp/'.$module_name.'/_skins_tmp/';
17 20
if(!is_dir($_CONFIG['quickskin_compiled'])) {
18 21
	$msg = createFolderProtectFile($_CONFIG['quickskin_compiled']);
19 22
	if(sizeof($msg)) {
......
23 26
}
24 27

  
25 28
// CACHED FILES
26
$_CONFIG['quickskin_cache'] = WB_PATH.'/temp/quickSkin/_skins_cache/';
29
$_CONFIG['quickskin_cache'] = WB_PATH.'/temp/'.$module_name.'/_skins_cache/';
27 30
if(!is_dir($_CONFIG['quickskin_cache'])) {
28 31
	$msg = createFolderProtectFile($_CONFIG['quickskin_cache']);
29 32
	if(sizeof($msg)) {
......
36 39
// EXTENTSIONS DIR
37 40
$_CONFIG['extensions_dir'] = str_replace('\\','/', dirname(__FILE__).'/_lib/qx'); 
38 41

  
39
require_once (WB_PATH.'/include/quickSkin_alpha/_lib/quickSkin_28/class.quickskin.php');
42
require_once (WB_PATH.'/include/'.$module_directory.'/_lib/quickSkin_28/class.quickskin.php');
40 43

  
41 44

  
42 45
/**
branches/2.8.x/wb/admin/interface/version.php
52 52

  
53 53
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
54 54
if(!defined('VERSION')) define('VERSION', '2.8.2');
55
if(!defined('REVISION')) define('REVISION', '1569');
55
if(!defined('REVISION')) define('REVISION', '1570');
56 56
if(!defined('SP')) define('SP', 'SP2');

Also available in: Unified diff