mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-31 07:18:21 -04:00
Cleans js. Fixes js. Updates ru translation.
This commit is contained in:
parent
aa92ab9e83
commit
6b5556f338
27 changed files with 83 additions and 168 deletions
|
@ -3,13 +3,9 @@
|
|||
| $h5ai_php = str_replace("\\", "/", dirname(__FILE__)) . "/inc/H5ai.php";
|
||||
| if (!file_exists($h5ai_php)) {
|
||||
| function find_h5ai($path, $h5ai) {
|
||||
| if (file_exists($path . $h5ai)) {
|
||||
| return $path . $h5ai;
|
||||
| }
|
||||
| if (file_exists($path . $h5ai)) { return $path . $h5ai; }
|
||||
| $parent = str_replace("\\", "/", dirname($path));
|
||||
| if ($parent !== $path) {
|
||||
| return find_h5ai($parent, $h5ai);
|
||||
| }
|
||||
| if ($parent !== $path) { return find_h5ai($parent, $h5ai); }
|
||||
| error_log("h5ai not found: " . __FILE__);
|
||||
| }
|
||||
| $h5ai_php = find_h5ai(str_replace("\\", "/", dirname(__FILE__)), "/_h5ai/php/inc/H5ai.php");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue