Changeset 17923


Ignore:
Timestamp:
Sep 15, 2012, 11:54:06 AM (8 years ago)
Author:
mistic100
Message:

bad folder name

Location:
extensions/Subscribe_to_comments
Files:
2 edited

Legend:

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

    r17922 r17923  
    1313global $prefixeTable;
    1414
    15 define('SUBSCRIBE_TO_PATH' , PHPWG_PLUGINS_PATH . 'Subscribe_to_comments/');
     15define('SUBSCRIBE_TO_PATH' , PHPWG_PLUGINS_PATH . 'Subscribe_to_Comments/');
    1616define('SUBSCRIBE_TO_TABLE', $prefixeTable . 'subscribe_to_comments');
    1717define('SUBSCRIBE_TO_VERSION', '2.0.3');
     
    3030  // apply upgrade if needed
    3131  if (
    32     $pwg_loaded_plugins['Subscribe_to_comments']['version'] == 'auto' or
    33     version_compare($pwg_loaded_plugins['Subscribe_to_comments']['version'], SUBSCRIBE_TO_VERSION, '<')
     32    $pwg_loaded_plugins['Subscribe_to_Comments']['version'] == 'auto' or
     33    version_compare($pwg_loaded_plugins['Subscribe_to_Comments']['version'], SUBSCRIBE_TO_VERSION, '<')
    3434  )
    3535  {
     
    3737    stc_install();
    3838   
    39     if ($pwg_loaded_plugins['Subscribe_to_comments']['version'] != 'auto')
     39    if ($pwg_loaded_plugins['Subscribe_to_Comments']['version'] != 'auto')
    4040    {
    4141      $query = '
    4242UPDATE '. PLUGINS_TABLE .'
    4343SET version = "'. SUBSCRIBE_TO_VERSION .'"
    44 WHERE id = "Subscribe_to_comments"';
     44WHERE id = "Subscribe_to_Comments"';
    4545      pwg_query($query);
    4646     
    47       $pwg_loaded_plugins['Subscribe_to_comments']['version'] = SUBSCRIBE_TO_VERSION;
     47      $pwg_loaded_plugins['Subscribe_to_Comments']['version'] = SUBSCRIBE_TO_VERSION;
    4848     
    4949      if (defined('IN_ADMIN'))
  • extensions/Subscribe_to_comments/maintain.inc.php

    r17922 r17923  
    22if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
    33
    4 include_once(PHPWG_PLUGINS_PATH . 'Subscribe_to_comments/include/install.inc.php');
     4include_once(PHPWG_PLUGINS_PATH . 'Subscribe_to_Comments/include/install.inc.php');
    55 
    66
Note: See TracChangeset for help on using the changeset viewer.