Package: wordpress
Version: 3.0.5+dfsg-0+squeeze1
Severity: normal

I wanted to move the wp-uploads directory from the default location, so
naturally I edited /etc/wordpress/config-SITE.php to change $upload_dir.
However, this seems to do nothing to change where Wordpress stores its
files. Indeed, on inspecting the code, it looks like $upload_dir is only
read when the installer is run, so changing it once the site is installed
has no effect (the setting must be changed in the WP admin interface instead
it seems).

This seems a bit sub-optimal - an admin would expect that if he changes a
setting in a config file, then the setting is actually changed. If nothing
else, can it at least be made obvious that the setting in the config file is
for installation only, and that further changes need to be made via the web
interface?

Ideally, it would be possible to set the upload dir in the config file and
prevent users from changing it in the web interface if the admin has set a
value in the config.

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-274.3.1.el5.028stab094.3 (SMP w/16 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wordpress depends on:
ii  apache2                2.2.16-6+squeeze4 Apache HTTP Server metapackage
ii  apache2-mpm-prefork [h 2.2.16-6+squeeze4 Apache HTTP Server - traditional n
ii  libapache2-mod-php5    5.3.3-7+squeeze6  server-side, HTML-embedded scripti
ii  libjs-cropper          1.2.1-2           JavaScript image cropper UI
ii  libjs-jquery           1.4.2-2           JavaScript library for dynamic web
ii  libjs-prototype        1.6.1-1           JavaScript Framework for dynamic w
ii  libjs-scriptaculous    1.8.3-1           JavaScript library for dynamic web
ii  libphp-phpmailer       5.1-1             full featured email transfer class
ii  libphp-snoopy          1.2.4-2           Snoopy is a PHP class that simulat
ii  mysql-client-5.1 [mysq 5.1.49-3          MySQL database client binaries
ii  php-gettext            1.0.10-1          read gettext MO files directly, wi
ii  php5-gd                5.3.3-7+squeeze6  GD module for php5
ii  php5-mysql             5.3.3-7+squeeze6  MySQL module for php5
ii  tinymce                3.3.8+dfsg0-0.1   platform independent web based Jav

Versions of packages wordpress recommends:
ii  wordpress-l10n     3.0.5+dfsg-0+squeeze1 weblog manager - language files

Versions of packages wordpress suggests:
ii  mysql-server                  5.1.49-3   MySQL database server (metapackage
ii  mysql-server-5.1 [mysql-serve 5.1.49-3   MySQL database server binaries and

-- Configuration Files:
/etc/wordpress/htaccess changed [not included]

-- no debconf information



-- 
Chris Butler <[email protected]>
  GnuPG Key ID: 4096R/49E3ACD3



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to