Dotclear


Ignore:
Timestamp:
04/28/09 21:55:20 (14 years ago)
Author:
hadrien
Message:

fix iphone theme path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/iphoneview/_public.php

    r1102 r1103  
    138138     { 
    139139          global $core; 
    140           $pathes = $core->tpl->getPath(); 
    141           foreach ($pathes as $k => $p) 
    142           { 
    143                $pathes[$k] = $p . '/iphone'; 
    144           } 
     140           
     141          $pathes = array( 
     142               dirname(__FILE__) . '/../..' . 
     143               $core->blog->settings->themes_url . '/' . 
     144               $core->blog->settings->theme . '/iphone/tpl/' 
     145          ); 
     146           
    145147          return $pathes; 
    146148     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map