show realpaths in debug info

This commit is contained in:
John Bintz 2009-08-24 20:55:29 -04:00
parent 043d609702
commit 0fdfae5d37
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*~

View File

@ -2264,6 +2264,8 @@ function cpm_show_debug_info($display_none = true) {
$subdir = '/' . $subdir; $subdir = '/' . $subdir;
} }
$output_config['directory_realpaths'] = array();
foreach (array( foreach (array(
'comic' => CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties['comic_folder'] . $subdir, 'comic' => CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties['comic_folder'] . $subdir,
'rss' => CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties['rss_comic_folder'] . $subdir, 'rss' => CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties['rss_comic_folder'] . $subdir,
@ -2275,6 +2277,7 @@ function cpm_show_debug_info($display_none = true) {
} else { } else {
$output_config['folder_perms'][$key] = "folder does not exist"; $output_config['folder_perms'][$key] = "folder does not exist";
} }
$output_config['directory_realpaths'][$key] = $path;
} }
$new_output_config = array(); $new_output_config = array();