초기 커밋: 5130 레거시 시스템
- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경 - DB 연결 하드코딩 → .env 기반으로 변경 - MySQL strict mode DATE 오류 수정
This commit is contained in:
29
dbeditor/vendor/phpmyadmin/sql-parser/bin/tokenize-query
vendored
Normal file
29
dbeditor/vendor/phpmyadmin/sql-parser/bin/tokenize-query
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
$files = array(
|
||||
__DIR__ . "/../vendor/autoload.php",
|
||||
__DIR__ . "/../../vendor/autoload.php",
|
||||
__DIR__ . "/../../../autoload.php",
|
||||
"vendor/autoload.php"
|
||||
);
|
||||
|
||||
$found = false;
|
||||
foreach ($files as $file) {
|
||||
if (file_exists($file)) {
|
||||
require_once $file;
|
||||
$found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!$found) {
|
||||
die(
|
||||
"You need to set up the project dependencies using the following commands:" . PHP_EOL .
|
||||
"curl -sS https://getcomposer.org/installer | php" . PHP_EOL .
|
||||
"php composer.phar install" . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
$cli = new PhpMyAdmin\SqlParser\Utils\CLI();
|
||||
exit($cli->runTokenize());
|
||||
Reference in New Issue
Block a user