mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-01 10:39:16 -04:00
Rename BUILD_NUMBER to .build_number so it's not so loud.
This commit is contained in:
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -1,2 +1,2 @@
|
||||
BUILD_NUMBER merge=merge-keep-ours
|
||||
.build_number merge=merge-keep-ours
|
||||
|
||||
|
||||
@@ -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"];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user