-
- Downloads
Do not use realpath() on includes.
If the file does not exist, realpath() returns false and "include false;" produces "Failed opening '' for inclusion" which is a useless error message. 'include' works just fine with symlinks, "./" and "../".
Showing
- apps/files_encryption/lib/crypt.php 1 addition, 1 deletionapps/files_encryption/lib/crypt.php
- apps/files_encryption/tests/crypt.php 10 additions, 10 deletionsapps/files_encryption/tests/crypt.php
- apps/files_encryption/tests/keymanager.php 9 additions, 9 deletionsapps/files_encryption/tests/keymanager.php
- apps/files_encryption/tests/share.php 10 additions, 10 deletionsapps/files_encryption/tests/share.php
- apps/files_encryption/tests/stream.php 8 additions, 8 deletionsapps/files_encryption/tests/stream.php
- apps/files_encryption/tests/trashbin.php 9 additions, 9 deletionsapps/files_encryption/tests/trashbin.php
- apps/files_encryption/tests/util.php 7 additions, 7 deletionsapps/files_encryption/tests/util.php
- apps/files_encryption/tests/webdav.php 8 additions, 8 deletionsapps/files_encryption/tests/webdav.php
Loading
Please register or sign in to comment