summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-01-17 17:33:10 -0800
committerBharat Mediratta <bharat@menalto.com>2011-01-17 17:34:19 -0800
commit76411d7d6d481bc2ab51e24ec2dbf003f43ce40b (patch)
tree3544be831c7d6cb52f4ea685493fcdeb9ec378a9
parent29be21bb0deaf70558b1aa02a115e67daefea0bd (diff)
Rename BUILD_NUMBER to .build_number so it's not so loud.
-rw-r--r--.build_number (renamed from BUILD_NUMBER)0
-rw-r--r--.gitattributes2
-rw-r--r--modules/gallery/helpers/gallery.php4
3 files changed, 3 insertions, 3 deletions
diff --git a/BUILD_NUMBER b/.build_number
index d32d51e9..d32d51e9 100644
--- a/BUILD_NUMBER
+++ b/.build_number
diff --git a/.gitattributes b/.gitattributes
index 9122eeb1..fdf9d072 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,2 @@
-BUILD_NUMBER merge=merge-keep-ours
+.build_number merge=merge-keep-ours
diff --git a/modules/gallery/helpers/gallery.php b/modules/gallery/helpers/gallery.php
index 7a60f56a..ad9f40e8 100644
--- a/modules/gallery/helpers/gallery.php
+++ b/modules/gallery/helpers/gallery.php
@@ -202,10 +202,10 @@ class gallery_Core {
}
/**
- * Return the contents of the BUILD_NUMBER file, which should be a single integer.
+ * Return the contents of the .build_number file, which should be a single integer.
*/
static function build_number() {
- $result = parse_ini_file(DOCROOT . "BUILD_NUMBER");
+ $result = parse_ini_file(DOCROOT . ".build_number");
return $result["build_number"];
}
} \ No newline at end of file