Dotclear

Changeset 1494


Ignore:
Timestamp:
09/24/09 20:11:17 (14 years ago)
Author:
Moe
Message:

@ Reply 1.4 :

  • using $core->blog->public_path (thanks to Pep)
Location:
plugins/atReply
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • plugins/atReply/_define.php

    r1337 r1494  
    3030  /* Description*/  'Easily reply to comments', 
    3131  /* Author */           'Moe (http://gniark.net/) append extension by buns.fr', 
    32   /* Version */               '1.4-beta2', 
     32  /* Version */               '1.4', 
    3333  /* Permissions */ 'admin' 
    3434); 
  • plugins/atReply/_public.php

    r1328 r1494  
    6767               $personalized_image = $settings->public_url. 
    6868                    '/atReply/reply.png'; 
    69                if (file_exists(path::fullFromRoot($settings->public_path, 
    70                               DC_ROOT).'/atReply/reply.png')); 
     69               if (file_exists($core->blog->public_path.'/atReply/reply.png')); 
    7170               { 
    7271                    $image_url = $personalized_image; 
  • plugins/atReply/index.php

    r1337 r1494  
    6666               $blue = $color[2];   
    6767      
    68                $dir = path::real(path::fullFromRoot($settings->public_path,DC_ROOT). 
    69                     '/atReply',false); 
     68               $dir = path::real($core->blog->public_path.'/atReply',false); 
    7069               files::makeDir($dir,true); 
    7170               $file_path = $dir.'/reply.png'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map