Revision 1711
Added by Luisehahne about 13 years ago
| tool.php | ||
|---|---|---|
| 4 | 4 |
* @category admin |
| 5 | 5 |
* @package admintools |
| 6 | 6 |
* @author WB-Project, Werner v.d. Decken |
| 7 |
* @copyright 2011, Website Baker Org. e.V.
|
|
| 7 |
* @copyright 2012, WebsiteBaker Org. e.V.
|
|
| 8 | 8 |
* @link http://www.websitebaker2.org/ |
| 9 | 9 |
* @license http://www.gnu.org/licenses/gpl.html |
| 10 | 10 |
* @platform WebsiteBaker 2.8.2 |
| ... | ... | |
| 40 | 40 |
// include modules tool.php |
| 41 | 41 |
require(WB_PATH.'/modules/'.$toolDir.'/tool.php'); |
| 42 | 42 |
$admin->print_footer(); |
| 43 |
}else {
|
|
| 43 |
} else {
|
|
| 44 | 44 |
// no installed module found, jump to index.php of admintools |
| 45 |
header('location: '.ADMIN_URL.'/admintools/index.php');
|
|
| 46 |
exit(0); |
|
| 45 |
// header('location: '.ADMIN_URL.'/admintools/index.php');
|
|
| 46 |
// exit(0); |
|
| 47 |
$admin->send_header(ADMIN_URL.'/admintools/index.php'); |
|
| 47 | 48 |
} |
| 48 | 49 |
}else {
|
| 49 | 50 |
// invalid module name requested, jump to index.php of admintools |
| 50 |
header('location: '.ADMIN_URL.'/admintools/index.php');
|
|
| 51 |
exit(0); |
|
| 51 |
// header('location: '.ADMIN_URL.'/admintools/index.php');
|
|
| 52 |
// exit(0); |
|
| 53 |
$admin->send_header(ADMIN_URL.'/admintools/index.php'); |
|
| 52 | 54 |
} |
Also available in: Unified diff
! update folder admin/start, admin/admintools, admin/skel/htt