src/Eccube/Service/PluginService.php 1 location
|
@@ 327-331 (lines=5) @@
|
| 324 |
|
// Proxyのクラスをロードせずにスキーマを更新するために、 |
| 325 |
|
// インストール時には一時的なディレクトリにProxyを生成する |
| 326 |
|
$createOutputDir = false; |
| 327 |
|
if (is_null($tmpProxyOutputDir)) { |
| 328 |
|
$tmpProxyOutputDir = sys_get_temp_dir().'/proxy_'.StringUtil::random(12); |
| 329 |
|
@mkdir($tmpProxyOutputDir); |
| 330 |
|
$createOutputDir = true; |
| 331 |
|
} |
| 332 |
|
|
| 333 |
|
try { |
| 334 |
|
if (!$uninstall) { |
src/Eccube/Service/SchemaService.php 1 location
|
@@ 63-67 (lines=5) @@
|
| 60 |
|
public function executeCallback(callable $callback, $generatedFiles, $proxiesDirectory, $outputDir = null) |
| 61 |
|
{ |
| 62 |
|
$createOutputDir = false; |
| 63 |
|
if (is_null($outputDir)) { |
| 64 |
|
$outputDir = sys_get_temp_dir().'/metadata_'.StringUtil::random(12); |
| 65 |
|
mkdir($outputDir); |
| 66 |
|
$createOutputDir = true; |
| 67 |
|
} |
| 68 |
|
|
| 69 |
|
try { |
| 70 |
|
$chain = $this->entityManager->getConfiguration()->getMetadataDriverImpl(); |