Changeset 1541

Show
Ignore:
Timestamp:
03/04/08 13:03:01 (2 months ago)
Author:
Anatoly
Message:

Made PUN_MAX_POSTSIZE changable.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/punbb-1.3-dev/upload/include/common.php

    r1534 r1541  
    5555define('PUN_GUEST', 2); 
    5656define('PUN_MEMBER', 3); 
    57 define('PUN_MAX_POSTSIZE', 65535); 
    5857 
    5958 
     
    145144// A good place to add common functions for your extension 
    146145($hook = get_hook('co_common')) ? eval($hook) : null; 
     146 
     147if (!defined('PUN_MAX_POSTSIZE')) 
     148        define('PUN_MAX_POSTSIZE', 65535);