Ignore:
Timestamp:
Jan 5, 2013, 2:49:19 PM (11 years ago)
Author:
mistic100
Message:

text collection name, absolute path for zClip inclusion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserCollections/main.inc.php

    r17657 r19843  
    1818define('USER_COLLEC_ADMIN',      get_root_url() . 'admin.php?page=plugin-UserCollections');
    1919define('USER_COLLEC_PUBLIC',     get_absolute_root_url() . make_index_url(array('section' => 'collections')) . '/');
    20 define('USER_COLLEC_VERSION',    '1.0.3');
     20define('USER_COLLEC_VERSION',    'auto');
    2121
    2222
     
    4747 
    4848  if (
     49    USER_COLLEC_VERSION == 'auto' or
    4950    $pwg_loaded_plugins['UserCollections']['version'] == 'auto' or
    5051    version_compare($pwg_loaded_plugins['UserCollections']['version'], USER_COLLEC_VERSION, '<')
     
    5455    user_collections_install();
    5556   
    56     if ($pwg_loaded_plugins['UserCollections']['version'] != 'auto')
     57    if ( $pwg_loaded_plugins['UserCollections']['version'] != 'auto' and USER_COLLEC_VERSION != 'auto' )
    5758    {
    5859      $query = '
Note: See TracChangeset for help on using the changeset viewer.