Commit Graph

16 Commits

Author SHA1 Message Date
Diederik de Groot
a4ebaee776 Initial checkin of resolver.php
- use \\ instead of just \ in FileName
- Use file_put_contents instead of open/write
- Use file_exist instead of stat
- Added /lib directory
- Moved /tftpboot/index.cfg -> /config.ini
- Moved /tftpboot/resolver.php -> /lib/resolver.php
- Added /lib/config.php
  - include /lib/config.php in resolver.php and index.php
- Changed $config array
- Remove print_r($config['main']['base_path']) from config.php
- Add isValidRequest() function
- Use Boolean in tree_base data
- Simplify config['subdirs'] substitution
- Add lib/utils.php file
- Added simple shell/utf/html escape checking
- Added a collection of test cases (we need some more escape checking ones)
- Added lib/logger.php (copied from tftpserver.php, so that it can be reused for that).
- Clarify config.ini logformat
- Update logger implementation
- Replaced index.php with version that uses lib/resolver.php
- Replaced ../etc/nginx/sites-available/tftpboot Example file
2020-03-17 10:03:55 +01:00
Phantom
26169eabb2 Update index.php
- Wallpapers Bug Fix.
2019-11-14 14:49:53 +03:00
Phantom
ccf9c52bc4 - Change Sccp class driver
- bug fix
2019-08-15 11:51:15 +03:00
Phantom
f6c9582b2c - Change Sccp class driver 2019-08-13 10:41:06 +03:00
Phantom
2085edd7a0 - Rename Russian_Russian to Russian_Russian_Federation
- Fix Ringtones
2019-05-07 17:31:51 +03:00
Diederik de Groot
f2c3728935 Smaller fixes 2019-04-15 14:59:59 +02:00
Phantom
2995f82799 Script Update. 2018-03-16 16:56:28 +03:00
Diederik de Groot
3a9770620a Use base_config template and merge in the config file, instead of manually substituting default value when they are missing 2018-03-16 00:30:10 +01:00
Diederik de Groot
4ca4b70b22 Renamed variable $path to $config
Concatenate paths instead of depending on absolute ones
Format debug output
2018-03-15 15:27:36 +01:00
Phantom
ea463ff5ee Add nginx Configuration
Script Update.
2018-03-15 17:05:48 +03:00
Phantom
149f53639f Small refactoring 2018-03-14 21:45:50 +03:00
Phantom
c6d24e0c78 Small refactoring 2018-03-14 16:48:08 +03:00
Phantom
2f269e5117 Small refactoring 2018-03-14 16:44:21 +03:00
Diederik de Groot
07c61cd55c Small refactoring 2018-03-13 15:36:58 +01:00
Diederik de Groot
ddb8750939 Couple of simplifications / spelling corrections 2018-03-13 14:50:57 +01:00
Diederik de Groot
047c91e564 Initial checkin of php script to replace the regex rules 2018-03-13 14:25:38 +01:00