Dotclear

Changeset 3246


Ignore:
Timestamp:
11/04/13 13:57:09 (10 years ago)
Author:
JcDenis
Message:

Fix notice (unremoved old var), Fix install version comparison

Location:
plugins/pacKman
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • plugins/pacKman/README.md

    r3240 r3246  
    33## WHAT IS PACKMAN ? 
    44 
    5 pacKman is a plugins for the open-source  
     5pacKman is a plugin for the open-source  
    66web publishing software called Dotclear. 
    77 
     
    2020## USAGE 
    2121 
    22 First install pacKman, mannualy from a zip package or from  
     22First install pacKman, manualy from a zip package or from  
    2323Dotaddict repository. (See Dotclear's documentation to know how do this) 
    2424 
  • plugins/pacKman/_define.php

    r3243 r3246  
    2626     "Jean-Christian Denis", 
    2727     /* Version */ 
    28      '2013.10.29', 
     28     '2013.11.03', 
    2929     /* Properies */ 
    3030     array( 
     
    3232          'type' => 'plugin', 
    3333          'dc_min' => '2.6', 
    34           'support' => 'http://jcd.lv/pacKman', 
     34          'support' => 'http://jcd.lv/q=pacKman', 
    3535          'details' => 'http://plugins.dotaddict.org/dc2/details/pacKman' 
    3636     ) 
  • plugins/pacKman/_install.php

    r3240 r3246  
    8383     # Check Dotclear version 
    8484     if (!method_exists('dcUtils', 'versionsCompare')  
    85       || dcUtils::versionsCompare(DC_VERSION, $dc_min, '>', false)) { 
     85      || dcUtils::versionsCompare(DC_VERSION, $dc_min, '<', false)) { 
    8686          throw new Exception(sprintf( 
    8787               '%s requires Dotclear %s', $mod_id, $dc_min 
  • plugins/pacKman/index.php

    r3240 r3246  
    156156     elseif ($action == 'delete') { 
    157157 
    158           if ($type == 'plugins') { 
    159                $proot = $plugins_path; 
    160           } 
    161           elseif ($type == 'themes') { 
    162                $proot == $themes_path; 
    163           } 
    164           else { 
    165                $proot == 'repository'; 
    166           } 
    167  
    168158          foreach ($_POST['modules'] as $id => $root) { 
    169159               if (!file_exists($root) || !files::isDeletable($root)) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map