After quite a few installations and management (a total with more then 150..), i want to give some input about the config.php regarding the Path Settings. Currently, these settings are in the following format: (Stripped down for reading purposes)
Code: Select all
$config['root_path'] = '/home/httpd/vhosts/domain.nl/httpdocs';
$config['admin_dir'] = 'admin';
$config['previews_path'] = '/home/httpd/vhosts/domain.nl/httpdocs/tmp/cache';
$config['uploads_path'] = '/home/httpd/vhosts/domain.nl/httpdocs/uploads';
$config['uploads_url'] = $config['root_url'] . '/uploads';
Code: Select all
$config['image_uploads_path'] = '/home/httpd/vhosts/domain.nl/httpdocs/uploads/images';
$config['image_uploads_url'] = $config['root_url'] . '/uploads/images';
It would be far more logical, if you could do something like the following:
Code: Select all
# Admin is a dir, not a path, so it should be either on top or bottom, not somewhere in between.. I suggest right after the [i]root_url[/i] setting.
$config['admin_dir'] = 'admin';
# Same for the uploads URL
$config['uploads_url'] = $config['root_url'] . '/uploads';
# And why is the image_uploads_url any different? It's a path, and it should be kept here..
$config['image_uploads_url'] = $config['root_url'] . '/uploads/images';
# Take this path as a root, and use it in the next settings. That way you don't need to edit all paths...
$config['root_path'] = '/home/httpd/vhosts/domain.nl/httpdocs';
$config['previews_path'] = $config['root_path'].'tmp/cache';
$config['uploads_path'] = $config['root_path'].'uploads';
# Image_uploads_path is a path, so keep it here..
$config['image_uploads_path'] = $config['root_path'].'images';
Thanks in advance, and i really look forward to see this feature in 1.9.4!