Changeset 1539 in subversion for trunk/roundcubemail/program/include/main.inc
- Timestamp:
- Jun 15, 2008 5:19:47 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/include/main.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/main.inc
r1532 r1539 501 501 return preg_replace('/[\r\n]/', '', $str); 502 502 } 503 504 505 /**506 * Check if a specific template exists507 *508 * @param string Template name509 * @return boolean True if template exists510 */511 function template_exists($name)512 {513 global $CONFIG;514 $skin_path = $CONFIG['skin_path'];515 516 // check template file517 return is_file("$skin_path/templates/$name.html");518 }519 503 520 504
Note: See TracChangeset
for help on using the changeset viewer.
