Project

General

Profile

« Previous | Next » 

Revision 940

Added by doc almost 16 years ago

addon overview to show advanced options after redirect from reload.php

View differences:

trunk/CHANGELOG
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14 14
19-Feb-2009 Christian Sommer
15
!	addon overview to show advanced options after redirect from reload.php
15 16
#	fixed bug if language folder contains none language files (XX.php) or sub folders
16 17
+	added option to invoke module upgrade.php/uninstall.php files from backend (for modules uploaded via FTP)
17 18
18-Feb-2009 Dietrich Roland Pehlke (aldus)
trunk/wb/admin/addons/reload.php
11 11
 * @author		Christian Sommer
12 12
 * @copyright	(c) 2009
13 13
 * @license		http://www.gnu.org/copyleft/lesser.html
14
 * @version		0.1.0
14
 * @version		0.1.1
15 15
 * @platform	Website Baker 2.7
16 16
 *
17 17
 * Website Baker Project <http://www.websitebaker.org/>
......
39 39
foreach ($post_check as $index => $key) {
40 40
	if (!isset($_POST[$key])) unset($post_check[$index]);
41 41
}
42
if (count($post_check) == 0) die(header('Location: index.php'));
42
if (count($post_check) == 0) die(header('Location: index.php?advanced'));
43 43

  
44 44
/**
45 45
 * check if user has permissions to access this file
......
69 69

  
70 70
// create Admin object with admin header
71 71
$admin = new admin('Addons', '', true, false);
72
$js_back = ADMIN_URL . '/addons/index.php';
72
$js_back = ADMIN_URL . '/addons/index.php?advanced';
73 73

  
74 74
/**
75 75
 * Reload all specified Addons

Also available in: Unified diff