Changeset 1538 for plugins/newsletter/trunk/inc/class.newsletter.tools.php
- Timestamp:
- 10/02/09 16:13:38 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/newsletter/trunk/inc/class.newsletter.tools.php
r1532 r1538 79 79 } 80 80 81 // recherche si le template existe dans le theme 82 public static function requestTemplate(dcCore $core, $filename) 83 { 84 if (file_exists(path::real($core->blog->themes_path.'/'.$core->blog->settings->theme).'/tpl/'.$filename)) 85 $folder = path::real($core->blog->themes_path.'/'.$core->blog->settings->theme).'/tpl/'; 86 else 87 $folder = path::real(newsletterPlugin::folder().'..').'/default-templates/'; 88 return $folder; 89 } 81 90 } 82 91
Note: See TracChangeset
for help on using the changeset viewer.