Skip to content

Commit

Permalink
Ignore PHPExcel, show only .txt file, initial DIA model
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanlanin committed Dec 9, 2011
1 parent f6a7e7f commit a18132e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
*~

/lib/jqplot
/config.php
/config.php
/lib/PHPExcel.php
/lib/PHPExcel
Binary file added docs/model.dia
Binary file not shown.
7 changes: 5 additions & 2 deletions lib/php/catalog.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
* Gudang Data Indonesia
*
* @author Wida Sari <[email protected]>
* @author Ivan Lanin <[email protected]>
* @since 2011-10-05 10:30
* @last_update Wida Sari <[email protected]> 2011-10-05 11:18
* @last_update 2011-12-09 06:55 - IL
*/

class catalog
Expand All @@ -19,7 +20,9 @@ function list_catalog($dir)
if(is_file("$dir/$file"))
{
$info = pathinfo($file);
$data_sets[] = basename($file,'.'.$info['extension']);
// only load .txt file
if ($info['extension'] == 'txt')
$data_sets[] = basename($file,'.'.$info['extension']);
}
}

Expand Down

0 comments on commit a18132e

Please sign in to comment.