View Issue Details

IDProjectCategoryView StatusLast Update
0020602mantisbtattachmentspublic2016-08-21 05:02
ReporterKenMcGinnis Assigned Todregad  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
PlatformWindowsOSWindows Server 2012 R2OS VersionWindows Server 2
Product Version1.2.19 
Summary0020602: absolute_path_default_upload_folder has a trailing directory separator: "Files/"
Description

config_inc.php has this setting:
$g_absolute_path_default_upload_folder = 'Files/'; # used with DISK, must contain trailing \ or /.

admin/check.php reports "BAD" error in correctly.

I am following instructions in the comment to the right but check.php reports it as an error.

BUG: Fix the code that checks this setting or change the #Comments in config_inc.php to the right of this setting.need to be changed. Documentation also needs to be changed to clarify things.

I want this to support 'File/' setting.

See attached screehsnot showing problem.

TagsNo tags attached.
Attached Files
z3.jpg (312,657 bytes)

Relationships

related to 0021635 feedback Problems with corrupting database with use of $g_absolute_path_default_upload_folder = 'Files/'; 

Activities

dregad

dregad

2016-02-16 18:14

developer   ~0052521

The admin checks for PHP constant DIRECTORY_SEPARATOR. You seem to be on Windows, and on this platform this equals '\'.

Does it work with 'Files\' ?

atrol

atrol

2016-04-24 06:16

developer   ~0053011

KenMcGinnis,

You did not provide any feedback; I am therefore resolving this issue as "no change required".

Feel free to reopen the issue at a later time and provide the requested information.