Changeset 23473 for extensions/plugin_lang_analysis/admin.php
- Timestamp:
- Jun 23, 2013, 7:54:28 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/plugin_lang_analysis/admin.php
r23472 r23473 34 34 } 35 35 36 if (file_exists(PLA_ PATH.'_data/'.$_GET['plugin_id'].'.php'))37 { 38 $saved_files = include(PLA_ PATH.'_data/'.$_GET['plugin_id'].'.php');36 if (file_exists(PLA_DATA.$_GET['plugin_id'].'.php')) 37 { 38 $saved_files = include(PLA_DATA.$_GET['plugin_id'].'.php'); 39 39 } 40 40 else … … 95 95 $content.= ";\n?>"; 96 96 97 @mkdir(PLA_ PATH.'_data/', true, 0755);98 file_put_contents(PLA_ PATH.'_data/'.$_GET['plugin_id'].'.php', $content);97 @mkdir(PLA_DATA, true, 0755); 98 file_put_contents(PLA_DATA.$_GET['plugin_id'].'.php', $content); 99 99 } 100 100 else 101 101 { 102 $files = include(PLA_ PATH.'_data/'.$_GET['plugin_id'].'.php');102 $files = include(PLA_DATA.$_GET['plugin_id'].'.php'); 103 103 } 104 104
Note: See TracChangeset
for help on using the changeset viewer.