From: Gabriel Dunne Date: Thu, 4 Jul 2013 04:57:24 +0000 (-0700) Subject: Updated com X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=134cd1f0b4d25a3060b1d6eec86db2599b4e7fee;p=plog.git Updated com --- diff --git a/lib/data.php b/lib/data.php index 300eb1f..e01b711 100644 --- a/lib/data.php +++ b/lib/data.php @@ -382,7 +382,7 @@ function get_media( $path ) { 'url' => WEB_ROOT . join(DIRECTORY_SEPARATOR, array( $path, $info->getFilename())), - 'extension' => $info->getExtension() + 'extension' => pathinfo($info->getFilename(), PATHINFO_EXTENSION) ); } }