rhymix/common
Kijin Sung 42d09bde65 Provide a single entry point for all command-line scripts
Core example:

php index.php common.clean_empty_dirs
  -> executes common/scripts/clean_empty_dirs.php

Third-party example:

php index.php module_name.script_name
  -> executes modules/module_name/scripts/script_name.php

This should be the preferred method of executing PHP scripts included with
any third-party module, because it ensures that the working environment is
correct. For example, it will set the current working directory to Rhymix root,
check that the UID matches the usual web user, include all core libraries and
initialize the Context properly.

Over time, we will expand the command-line functionality similar to
the 'artisan' command in Laravel.
2023-08-16 23:12:25 +09:00
..
css Change rhymix.less back to rhymix.scss because the LESS converter seems to be abandoned :( 2022-12-26 00:50:02 +09:00
defaults Use associative array to store custom namespaces 2023-08-12 21:53:52 +09:00
framework Improve filtering of "allow" and "referrerpolicy" attributes of <iframe> 2023-08-16 22:41:14 +09:00
img Remove Flash FLV player that doesn't work anymore 2021-01-08 21:02:45 +09:00
js Open most member popup menus in the same window #2154 2023-07-17 21:58:25 +09:00
lang Add option to control whether boards and pages are indexed by search engines, using the X-Robots-Tag header 2023-08-13 02:03:02 +09:00
libraries Use compoer/ca-bundle instead of using our own cacert.pem 2022-12-26 00:57:50 +09:00
manual/server_config Stop allowing access to .php files under files/cache/ 2023-08-07 00:35:40 +09:00
scripts Provide a single entry point for all command-line scripts 2023-08-16 23:12:25 +09:00
tpl Always add CSRF token to meta tag 2023-06-19 01:40:21 +09:00
vendor Update guzzlehttp/guzzle and related libraries 2023-04-22 14:49:26 +09:00
autoload.php Remove unnecessary condition in autoloader for custom namespaces 2023-08-12 21:55:20 +09:00
composer.json Move all composer files inside the common directory 2022-12-26 16:33:32 +09:00
composer.lock Update guzzlehttp/guzzle and related libraries 2023-04-22 14:49:26 +09:00
constants.php Version 2.1.3 2023-08-15 14:52:11 +09:00
functions.php Merge branch 'develop' into pr/whitespace 2023-01-30 21:49:10 +09:00
legacy.php Fix #2161 incorrect timestamp when seconds are missing or negative time zone is given 2023-08-04 12:13:09 +09:00