src/Eccube/Service/SchemaService.php 1 location
|
@@ 54-58 (lines=5) @@
|
| 51 |
|
public function executeCallback(callable $callback, $generatedFiles, $proxiesDirectory, $outputDir = null) |
| 52 |
|
{ |
| 53 |
|
$createOutputDir = false; |
| 54 |
|
if (is_null($outputDir)) { |
| 55 |
|
$outputDir = sys_get_temp_dir().'/metadata_'.StringUtil::random(12); |
| 56 |
|
mkdir($outputDir); |
| 57 |
|
$createOutputDir = true; |
| 58 |
|
} |
| 59 |
|
|
| 60 |
|
try { |
| 61 |
|
$chain = $this->entityManager->getConfiguration()->getMetadataDriverImpl(); |
src/Eccube/Service/PluginService.php 1 location
|
@@ 311-315 (lines=5) @@
|
| 308 |
|
// Proxyのクラスをロードせずにスキーマを更新するために、 |
| 309 |
|
// インストール時には一時的なディレクトリにProxyを生成する |
| 310 |
|
$createOutputDir = false; |
| 311 |
|
if (is_null($tmpProxyOutputDir)) { |
| 312 |
|
$tmpProxyOutputDir = sys_get_temp_dir().'/proxy_'.StringUtil::random(12); |
| 313 |
|
@mkdir($tmpProxyOutputDir); |
| 314 |
|
$createOutputDir = true; |
| 315 |
|
} |
| 316 |
|
|
| 317 |
|
try { |
| 318 |
|
if (!$uninstall) { |