diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-02-18 08:31:09 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-02-18 08:31:09 +0100 |
commit | e4394c95e0a39607f4fdbd427b249b1e611ca0ff (patch) | |
tree | efd51d6e14ef85ebff4fb7e502d9da5d1cafbf20 /program/lib | |
parent | eafb68b32160c73646a6d067b9352d05ceaf5023 (diff) |
Make autoloading of the framework classes work from any location
Diffstat (limited to 'program/lib')
-rw-r--r-- | program/lib/Roundcube/bootstrap.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/program/lib/Roundcube/bootstrap.php b/program/lib/Roundcube/bootstrap.php index 8cea48122..ef221e34a 100644 --- a/program/lib/Roundcube/bootstrap.php +++ b/program/lib/Roundcube/bootstrap.php @@ -470,17 +470,17 @@ function rcube_autoload($classname) '/Mail_(.+)/', '/Net_(.+)/', '/Auth_(.+)/', + '/^utf8$/', '/^html_.+/', '/^rcube(.*)/', - '/^utf8$/', ), array( 'Mail/\\1', 'Net/\\1', 'Auth/\\1', - 'Roundcube/html', - 'Roundcube/rcube\\1', 'utf8.class', + RCUBE_LIB_DIR . '/html', + RCUBE_LIB_DIR . '/rcube\\1', ), $classname ); |