aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_styles.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-01-04 07:51:04 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-01-04 07:51:04 +0000
commitd23a07dc7dc4248180d451bce584a47f7defd737 (patch)
treeb7c3197adfe26378bb4c62a318755c63793f236c /phpBB/includes/acp/acp_styles.php
parent17dc26e19b1738ccb3a2c8bb4b3757168cf9eabd (diff)
downloadforums-d23a07dc7dc4248180d451bce584a47f7defd737.tar
forums-d23a07dc7dc4248180d451bce584a47f7defd737.tar.gz
forums-d23a07dc7dc4248180d451bce584a47f7defd737.tar.bz2
forums-d23a07dc7dc4248180d451bce584a47f7defd737.tar.xz
forums-d23a07dc7dc4248180d451bce584a47f7defd737.zip
- sperate permissions from sessions
- added some comments to the auth class for better understanding - revised some permission functions - added option to negate permission check by prefixing option with a ! (for example checking for !f_read returns true if user is not able to read forum) - used the new option for testing in ucp front git-svn-id: file:///svn/phpbb/trunk@5423 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_styles.php')
-rw-r--r--phpBB/includes/acp/acp_styles.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php
index 72cc82ee4b..57c9fbfeaf 100644
--- a/phpBB/includes/acp/acp_styles.php
+++ b/phpBB/includes/acp/acp_styles.php
@@ -1778,7 +1778,7 @@ pagination_sep = \'{PAGINATION_SEP}\'
{
return false;
}
-
+/*
if ($action != 'install')
{
@mkdir("{$phpbb_root_path}styles/$path", 0777);
@@ -1789,7 +1789,7 @@ pagination_sep = \'{PAGINATION_SEP}\'
$this->copy_files("$root_path$type", filelist("$root_path$type", '', '*'), "$path/$type");
}
}
-
+*/
$sql_ary = array(
$mode . '_name' => $name,
$mode . '_copyright' => $copyright,
@@ -1809,7 +1809,7 @@ pagination_sep = \'{PAGINATION_SEP}\'
case 'theme':
$sql_ary += array(
'theme_storedb' => (!is_writeable("{$phpbb_root_path}styles/$path/theme/stylesheet.css")) ? 1 : $store_db,
- 'theme_data' => ($store_db) ? (($root_path) ? str_replace('./', "styles/$path/theme/", implode('', file("$root_path/$type/stylesheet.css"))) : '') : '',
+ 'theme_data' => ($store_db) ? (($root_path) ? str_replace('./', "styles/$path/theme/", implode('', file("$root_path/$mode/stylesheet.css"))) : '') : '',
'theme_mtime' => ($store_db) ? filemtime("{$phpbb_root_path}styles/$path/theme/stylesheet.css") : 0
);
break;