mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
Extension var update
git-svn-id: file:///svn/phpbb/trunk@4480 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -22,7 +22,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Include files
|
// Include files
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
|
||||||
if (!$auth->acl_get('a_attach'))
|
if (!$auth->acl_get('a_attach'))
|
||||||
|
@@ -37,7 +37,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Load default header
|
// Load default header
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
|
||||||
// Do we have ban permissions?
|
// Do we have ban permissions?
|
||||||
|
@@ -18,9 +18,7 @@ if (!empty($setmodules))
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$filename = basename(__FILE__);
|
$module['POST']['BBCODES'] = basename(__FILE__) . $SID;
|
||||||
$module['POST']['BBCODES'] = $filename . $SID;
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -37,7 +37,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Load default header
|
// Load default header
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
|
||||||
// Get mode
|
// Get mode
|
||||||
|
@@ -28,7 +28,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Load default header
|
// Load default header
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
include($phpbb_root_path . 'functions_compress.'.$phpEx);
|
include($phpbb_root_path . 'functions_compress.'.$phpEx);
|
||||||
|
|
||||||
|
@@ -34,7 +34,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Include files
|
// Include files
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
require($phpbb_root_path . 'includes/functions_user.'.$phpEx);
|
require($phpbb_root_path . 'includes/functions_user.'.$phpEx);
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Include files
|
// Include files
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
|
||||||
// Check permissions
|
// Check permissions
|
||||||
|
@@ -36,7 +36,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Include files
|
// Include files
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
|
||||||
// Do we have general permissions?
|
// Do we have general permissions?
|
||||||
|
@@ -35,7 +35,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Include files
|
// Include files
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Load default header
|
// Load default header
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
|
||||||
|
|
||||||
|
@@ -34,7 +34,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Include files
|
// Include files
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
|
||||||
// Do we have permission?
|
// Do we have permission?
|
||||||
|
@@ -34,7 +34,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Include files
|
// Include files
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
|
||||||
// Do we have forum admin permissions?
|
// Do we have forum admin permissions?
|
||||||
|
@@ -33,7 +33,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Let's set the root dir for phpBB
|
// Let's set the root dir for phpBB
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
|
||||||
// Do we have permission?
|
// Do we have permission?
|
||||||
|
@@ -34,7 +34,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Include files
|
// Include files
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
include($phpbb_root_path . 'includes/functions_posting.'.$phpEx);
|
include($phpbb_root_path . 'includes/functions_posting.'.$phpEx);
|
||||||
|
|
||||||
|
@@ -18,6 +18,9 @@
|
|||||||
// Previews of templates, imagesets, themes ... unified
|
// Previews of templates, imagesets, themes ... unified
|
||||||
// Security review
|
// Security review
|
||||||
|
|
||||||
|
// BUGS
|
||||||
|
// Editing template -> store in DB -> some kind of failure
|
||||||
|
|
||||||
if (!empty($setmodules))
|
if (!empty($setmodules))
|
||||||
{
|
{
|
||||||
if (!$auth->acl_get('a_styles'))
|
if (!$auth->acl_get('a_styles'))
|
||||||
@@ -37,7 +40,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Include files
|
// Include files
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
|
||||||
// Do we have styles admin permissions?
|
// Do we have styles admin permissions?
|
||||||
|
@@ -37,7 +37,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Include files
|
// Include files
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
|
||||||
// Do we have styles admin permissions?
|
// Do we have styles admin permissions?
|
||||||
|
@@ -33,7 +33,7 @@ if (!empty($setmodules))
|
|||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
// Include files
|
// Include files
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
|
||||||
// Do we have forum admin permissions?
|
// Do we have forum admin permissions?
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 246 B After Width: | Height: | Size: 369 B |
@@ -11,12 +11,10 @@
|
|||||||
//
|
//
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
define('IN_PHPBB', 1);
|
define('IN_PHPBB', 1);
|
||||||
|
|
||||||
// Include files
|
// Include files
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
require($phpbb_root_path . 'extension.inc');
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
|
||||||
// Do we have any admin permissions at all?
|
// Do we have any admin permissions at all?
|
||||||
|
Reference in New Issue
Block a user