web/event_process.php
changeset 1007 35d9258aad76
parent 1006 bb98a0de3bfd
child 1040 764461c218c2
--- 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";