add 'rep' in config file.
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Wed, 27 Nov 2013 16:58:43 +0100
changeset 1007 35d9258aad76
parent 1006 bb98a0de3bfd
child 1008 c015a6a1f567
add 'rep' in config file.
web/event_process.php
--- a/web/event_process.php	Wed Nov 27 16:36:10 2013 +0100
+++ b/web/event_process.php	Wed Nov 27 16:58:43 2013 +0100
@@ -13,7 +13,7 @@
     if($zip->open($zip_path, ZipArchive::CREATE) === FALSE) {
     	return FALSE;
     }
-    $config_content = "<?php\n\$config = array(\n";
+    $config_content = "<?php\n\$config = array(\n    'rep' => basename(__DIR__),\n";
     foreach ($config_values as $key => $value) {
     	if($value === "__TRUE__") {
     		$config_content .= "    '$key' => true,\n";