Procedural File: _upgrade.php
Source Location: /blogs/conf/_upgrade.php
This file includes upgrade settings for b2evolution.
b2evolution - http://b2evolution.net/ Released under GNU GPL License - http://b2evolution.net/about/license.html
| Copyright: | (c)2003-2008 by Francois PLANQUE - http://fplanque.net/ |
| Filesource: | Source Code for this file |
Accepted file types, you can add to that list if you want.
Note: add a space before and after each file type. Example: $fileupload_allowedtypes = ' jpg gif png ';
Default value: ' jpg gif png txt 'API Tags:
| Deprecated: | 1.6: this is only used for creating the defaults when upgrading |
by default, most servers limit the size of uploads to 2048 KB if you want to set it to a lower value, here it is (you cannot set a higher value)
Default value: '96'API Tags:
| Deprecated: | 1.6: this is only used for creating the defaults when upgrading |
Enter the real path of the directory where you'll upload the pictures.
If you're unsure about what your real path is, please ask your host's support staff. Note that the directory must be writable by the webserver (ChMod 766). Note for windows-servers users: use forwardslashes instead of backslashes. Example: $fileupload_realpath = '/home/example/public_html/media/'; # WITH traling slash! Alternatively you may want to use a path relative to $basepath.
Default value: $basepath.'media/'API Tags:
| Deprecated: | 1.6: the user uploads to his own media folder (or somewhere else with write permissions) This has been used until EVO_NEW_VERSION by XMLRPC/MMS though. |
Enter the URL of that directory
This is used to generate the links to the pictures Example: $fileupload_url = 'http://example.com/media/'; # WITH traling slash! Alternatively you may want to use an URL relatibe to $baseurl
Default value: $baseurl.'media/'API Tags:
| Deprecated: | 1.6: the user uploads to his own media folder (or somewhere else with write permissions) This has been used until EVO_NEW_VERSION by XMLRPC/MMS though. |
How many days of stats do you want to keep before auto pruning them?
Set to 0 to disable auto pruning
Default value: 30API Tags:
| Deprecated: | 1.6: this is only used for creating the defaults when upgrading |
