aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam McLoughlin <hexxeh@hexxeh.net>2011-08-10 18:39:11 +0100
committerLiam McLoughlin <hexxeh@hexxeh.net>2011-08-10 18:39:11 +0100
commit7f2c98b0d095c5c173fed07a0f8f32d51798d97e (patch)
treefe1d3817c8a221c72c70a0205f8e776e08554ec7 /config.php
parentAdding GNOME config (diff)
downloadgentoaster-7f2c98b0d095c5c173fed07a0f8f32d51798d97e.tar.gz
gentoaster-7f2c98b0d095c5c173fed07a0f8f32d51798d97e.tar.bz2
gentoaster-7f2c98b0d095c5c173fed07a0f8f32d51798d97e.zip
Combine configs, fix image download path via a new config option, add initscript
Diffstat (limited to 'config.php')
-rw-r--r--config.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/config.php b/config.php
index c1807fa..96b5728 100644
--- a/config.php
+++ b/config.php
@@ -5,12 +5,19 @@
// Set the publically viewable URL for this Gentoaster instance
define("GENTOASTER_URL", "http://192.168.2.169");
+
+ // Set the publically viewable URL for images to be downloaded
+ // This should point to the same folder as CONFIGURATIONS_PATH
+ define("IMAGES_URL", "http://192.168.2.169/images");
// Set the path that completed images should be stored at
define("CONFIGURATIONS_PATH", "/var/www/gentoaster/images");
// Set the path to the folder the Gentoaster tool is at
- define("GENTOASTER_PATH", "/usr/share/gentoaster");
+ // As long as we're not being used by the WebUI
+ if (!defined("GENTOASTER_PATH")) {
+ define("GENTOASTER_PATH", "/usr/share/gentoaster");
+ }
// Set the name of the image creation tool
define("BUILD_TOOL_NAME", "create_image.sh");