Revision 2046
Added by darkviper almost 11 years ago
- little Typofixes in packet AccessFile
branches/2.8.x/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
=============================================================================== |
13 | 13 |
|
14 |
|
|
14 |
19 Dec-2013 Build 2046 Manuela v.d.Decken(DarkViper) |
|
15 |
# little Typofixes in packet AccessFile |
|
16 |
19 Dec-2013 Build 2045 Dietmar Woellbrink (Luisehahne) |
|
17 |
! update Access Files Classes with easier handling for modules who create their own accessfiles |
|
15 | 18 |
19 Dec-2013 Build 2044 Dietmar Woellbrink (Luisehahne) |
16 | 19 |
# /admin/modules/install.php:: fixed Fileupload error messages |
17 | 20 |
19 Dec-2013 Build 2043 Dietmar Woellbrink (Luisehahne) |
branches/2.8.x/wb/admin/interface/version.php | ||
---|---|---|
51 | 51 |
|
52 | 52 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
53 | 53 |
if(!defined('VERSION')) define('VERSION', '2.8.4'); |
54 |
if(!defined('REVISION')) define('REVISION', '2045');
|
|
54 |
if(!defined('REVISION')) define('REVISION', '2046');
|
|
55 | 55 |
if(!defined('SP')) define('SP', ''); |
branches/2.8.x/wb/framework/AccessFileHelper.php | ||
---|---|---|
71 | 71 |
*/ |
72 | 72 |
static public function isAccessFile($sFileName) |
73 | 73 |
{ |
74 |
if (!is_readable($sFileName)) { throw new AccessFileInvalidFilePathException('invalid filename ['.$sFileName.']'); |
|
74 |
if (!is_readable($sFileName)) { throw new AccessFileInvalidFilePathException('invalid filename ['.$sFileName.']'); }
|
|
75 | 75 |
$bRetval = false; |
76 | 76 |
if (($sFile = file_get_contents($sFileName)) !== false) { |
77 | 77 |
$sPattern = '/^\s*?<\?php.*?\$i?page_?id\s*=\s*[0-9]+;.*?(?:require|include)' |
... | ... | |
80 | 80 |
unset($sFile); |
81 | 81 |
} |
82 | 82 |
return $bRetval; |
83 |
} |
|
84 | 83 |
} |
85 | 84 |
/** |
86 | 85 |
* Delete all contents of basedir, but not the basedir itself |
branches/2.8.x/wb/framework/AccessFile.php | ||
---|---|---|
173 | 173 |
* Rename an existing Accessfile |
174 | 174 |
* @param string $sNewName the new filename without path and without extension |
175 | 175 |
* @return boolean |
176 |
* @throws AccessFileAccessFileRenameException
|
|
176 |
* @throws AccessFileRenameException |
|
177 | 177 |
*/ |
178 | 178 |
public function rename($sNewName) |
179 | 179 |
{ |
Also available in: Unified diff