<!-- LICENSE "THE BEER-WARE LICENSE" (Revision 42): "Sven Strittmatter" <*****@*****.**> wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. @author Weltraumschaf @copyright Copyright (c) 01.12.2010, Sven Strittmatter. @version 0.2 @license http://www.weltraumschaf.de/the-beer-ware-license.txt --> <!DOCTYPE html> <html lang="de"> <head> <?php echo girly(WS_DATA_DIRECTORY . '/girly'); ?> <title>Hier wohnt das Weltraumschaf</title> <meta name="description" content="Private Website von Sven Strittmatter" /> <meta name="keywords" content="Sven, Strittmatter, Weltraumschaf, privat, Profile, Xing, GitHub, Linked in, KWICK!, PEAR, Hudson CI" /> <?php include 'inc/head_include.php'; ?> </head> <body> <h1>Hier wohnt das Weltraumschaf</h1>
public function testFunction() { $this->assertEquals('', girly('/does/not/exist')); $this->assertEquals("<!--\n" . file_get_contents(WS_DATA_DIRECTORY . '/girly') . "\n-->\n", girly(WS_DATA_DIRECTORY . '/girly')); }