This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * This file helps you reading the APCu cache content for debugging purposes. | |
| * Place this file in the webroot and access it via browser. | |
| * | |
| * Example: | |
| * | |
| * Copy this file to /var/www/html/apcu-dump.php | |
| * Access via http://wavelog.example.org/apcu-dump.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function version() { | |
| // This API endpoint provides the version of Wavelog if the provide key has at least read permissions | |
| $data = json_decode(file_get_contents('php://input'), true); | |
| $valid = false; | |
| if (!empty($data['key'])) { | |
| $this->load->model('api_model'); | |
| if (substr($this->api_model->access($data['key']), 0, 1) == 'r') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| defined('BASEPATH') OR exit('No direct script access allowed'); | |
| /* | |
| Migration to apply changes of the ADIF Standard 3.1.4 to 3.1.5 | |
| */ | |
| class Migration_adif_315 extends CI_Migration { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## For development you need gettext to be installed | |
| apt update | |
| apt install gettext | |
| ## Switch to project folder | |
| cd /var/www/html | |
| ## Scan all files for gettext functions and take this key as mgsid in the template pot (assets/lang_src/messages.pot) | |
| ## We currently use "__()", "_ngettext()" and "_pgettext" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $directory = '/var/www/wavelog/application/views'; | |
| $logFilePath = '/var/www/wavelog/dev/log.log'; | |
| $langDirectory = '/var/www/wavelog/application/language/'; | |
| $sourceLang = 'english'; | |
| $languages = array( | |
| 'bulgarian' => 'bg_BG', | |
| 'chinese_simplified' => 'zh_CN', | |
| 'czech' => 'cs_CZ', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <img src="https://[url]/[path_to_php]?call=[call]"? </img> |