From: Antoine Musso Date: Wed, 8 Feb 2012 09:54:44 +0000 (+0000) Subject: r110923 made basePath always null! X-Git-Tag: 1.31.0-rc.0~24872 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=45b556f1e300f49a39be81991dc503edb93ac43a;p=lhc%2Fweb%2Fwiklou.git r110923 made basePath always null! --- diff --git a/includes/filerepo/backend/FSFileBackend.php b/includes/filerepo/backend/FSFileBackend.php index 881df565b4..cc658096e7 100644 --- a/includes/filerepo/backend/FSFileBackend.php +++ b/includes/filerepo/backend/FSFileBackend.php @@ -43,7 +43,7 @@ class FSFileBackend extends FileBackendStore { // Remove any possible trailing slash from directories if ( isset( $config['basePath'] ) ) { - rtrim( $this->basePath, '/' ); // remove trailing slash + $this->basePath = rtrim( $config['basePath'], '/' ); // remove trailing slash } else { $this->basePath = null; // none; containers must have explicit paths }