b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 2.4) [ class tree: conf ] [ index: conf ] [ all elements ]

Procedural File: _upgrade.php

Source Location: /blogs/conf/_upgrade.php

Page Details

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
Globals
string   $fileupload_allowedtypes [line 85]

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


[ Top ]

int   $fileupload_maxk [line 95]

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


[ Top ]

string   $fileupload_realpath [line 58]

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.


[ Top ]

string   $fileupload_url [line 71]

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.


[ Top ]

int   $stats_autoprune [line 108]

How many days of stats do you want to keep before auto pruning them?

Set to 0 to disable auto pruning

Default value:  30
API Tags:
Deprecated:  1.6: this is only used for creating the defaults when upgrading


[ Top ]

boolean   $use_fileupload [line 43]

Set this to 0 to disable file upload, or 1 to enable it

Default value:  1
API Tags:
Deprecated:  since 1.6: this is only used for creating the defaults when upgrading This has been used until EVO_NEW_VERSION by XMLRPC though.


[ Top ]



Documentation generated on Sat, 06 Mar 2010 03:41:32 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).