Changeset 18050d8 in lab.git for genshi/index.php
- Timestamp:
- Oct 27, 2010 3:15:15 PM (14 years ago)
- Branches:
- master, trunk
- Children:
- 38785a4
- Parents:
- 3f4661f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
genshi/index.php
r3f4661f r18050d8 31 31 } 32 32 if (!strlen(trim($_POST['source']))) { 33 if(! isset($_POST['language'])) { $_POST['language'] = 'php'; } 33 34 $_POST['language'] = preg_replace('#[^a-zA-Z0-9\-_]#', '', $_POST['language']); 34 35 $_POST['source'] = implode('', @file($path . 'geshi/' . $_POST['language'] . '.php'));
Note: See TracChangeset
for help on using the changeset viewer.