Merge "Guard for web execution"

This commit is contained in:
Siebrand
2012-10-27 12:38:05 +00:00
committed by Gerrit Code Review

View File

@@ -1,5 +1,9 @@
<?php
if ( isset( $_SERVER['REQUEST_METHOD'] ) ) {
exit();
}
$list = array();
$list['base'] = '../data/fontrepo/fonts/';
foreach ( glob( '../fonts/*/font.ini' ) as $inifile ) {