View Issue Details

IDProjectCategoryView StatusLast Update
0008250mantisbtadministrationpublic2014-12-08 00:34
Reporterfman Assigned Todhx  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.3.0-beta.1Fixed in Version1.3.0-beta.1 
Summary0008250: Create Project - Show upload path defined in absolute_path_default_upload_folder
Description

I think i better to see the absolute_path_default_upload_folder, when you are creating a Project and has configured DISK as upload method.

Now a blank input is showed, and when you upload a file, the value
present on config var g_absolute_path_default_upload_folder is used.

I will prefer the value for upload path will be saved as project definition data.

On additional info, you will find the modified code.

Additional Information

<?php
if ( config_get( 'allow_file_upload' ) ) {
$t_file_path = config_get( 'absolute_path_default_upload_folder' );
?>
<tr class="row-2">
<td class="category">
<?php echo lang_get( 'upload_file_path' ) ?>
</td>
<td>
<input type="text" name="file_path" size="70" maxlength="250"
value="<?php echo($t_file_path) ?>" />
</td>
</tr>
<?php
}
?>

TagsNo tags attached.

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 
related to 0010676 closeddhx File upload error if we have not setted the project file folder 

Activities

dhx

dhx

2009-06-16 17:17

reporter   ~0022181

Fix applied. The path is only shown to administrators because of security concerns with revealing paths to project managers, etc.

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036392

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master 7871f6cf

2009-06-16 17:06

dhx


Details Diff
Show default upload path when creating project

Implementation of bug 0008250

When creating a project, the user has an option to specify a separate
upload folder on a per-project basis. Previously this field was left
blank by default. This patch shows the default value to the user - as
long as they're an administrator. This helps make it a little easier to
see if a new path needs to be specified that is different from the
default. For security reasons the absolute upload path is only shown to
administrators.
Affected Issues
0008250
mod - manage_proj_create_page.php Diff File
mod - manage_proj_create.php Diff File