public final static String[] SMARTY_EXTENSIONS = { "tpl" };
public static boolean isPHPFile(IFile file) {
- // String extension = file.getFileExtension();
- return isPHPFileName(file.getLocation().toString());
- }
+ return isPHPFileName(file.getFullPath().toString());
+ }
// public final static String getFileExtension(String name) {
// int index = name.lastIndexOf('.');