diff --git a/.idea/php.xml b/.idea/php.xml
new file mode 100644
index 000000000..68cd31fc4
--- /dev/null
+++ b/.idea/php.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/configDefaults.php b/config/configDefaults.php
index b5cc61990..c81dddf81 100644
--- a/config/configDefaults.php
+++ b/config/configDefaults.php
@@ -92,7 +92,7 @@
"homePageAuthNeeded" => false,
"homepageCustomHTML1" => "",
"homepageCustomHTML1Auth" => false,
- "git_branch" => "master",
+ "git_branch" => "v1-master",
"git_check" => true,
"speedTest" => false,
"smtpHostType" => "tls",
@@ -146,7 +146,7 @@
"homepageOrdertransmisson" => '15',
'requestedUserOnly' => 'true',
'emailTemplateCSS' => '',
- 'emailTempateLogo' => 'https://raw.githubusercontent.com/causefx/Organizr/master/images/organizr-logo-h.png',
+ 'emailTempateLogo' => 'https://raw.githubusercontent.com/causefx/Organizr/v1-master/images/organizr-logo-h.png',
'emailTemplateResetPassword' => '
Hey there {user}!
Looks like you forgot your password. Well, I got you... Here is your new password: {password}
diff --git a/functions.php b/functions.php
index 1496889b2..be6d7d793 100755
--- a/functions.php
+++ b/functions.php
@@ -2,7 +2,7 @@
// ===================================
// Define Version
- define('INSTALLEDVERSION', '1.80');
+ define('INSTALLEDVERSION', '1.90');
// ===================================
$debugOrganizr = true;
if($debugOrganizr == true && file_exists('debug.php')){ require_once('debug.php'); }
@@ -2549,7 +2549,16 @@ function deleteDatabase() {
}
// Upgrade the installation
-function upgradeInstall($branch = 'master') {
+function upgradeInstall($branch = 'v1-master') {
+ if ($branch == 'master'){
+ $branch = 'v1-master';
+ }
+ if ($branch == 'develop'){
+ $branch = 'v1-develop';
+ }
+ if ($branch == 'cero-dev'){
+ $branch = 'v1-develop';
+ }
function downloadFile($url, $path){
ini_set('max_execution_time',0);
$folderPath = "upgrade/";
diff --git a/settings.php b/settings.php
index 8c5b5756e..4534f9e72 100755
--- a/settings.php
+++ b/settings.php
@@ -819,9 +819,9 @@ function submitTabs(form) {
'Admin' => 'admin',
);
$branchTypes = array(
- 'Master' => 'master',
- 'Develop' => 'develop',
- 'Pre-Develop' => 'cero-dev',
+ 'Master' => 'v1-master',
+ 'Develop' => 'v1-develop',
+ 'Pre-Develop' => 'v1-develop',
);
$refreshSeconds = array(
'1 sec' => '1000',
@@ -2733,7 +2733,7 @@ function submitTabs(form) {
-
translate("TRANSLATIONS_ABOUT");?> Github Develop Branch
+
translate("TRANSLATIONS_ABOUT");?> Github Develop Branch
@@ -4115,10 +4115,10 @@ function checkGithub() {
$(infoTabNew).html("
translate("WHATS_NEW");?> " + githubVersion + "
translate("TITLE");?>: " + githubName + "
translate("CHANGES");?>: " + githubDescription);
- $(infoTabDownload).html("
Organizr v." + githubVersion + "");
+ $(infoTabDownload).html("
Organizr v." + githubVersion + "");
$( "p[id^='upgrade']" ).toggle();
- $(infoTabDownload).html("
Organizr v." + githubVersion + "");
+ $(infoTabDownload).html("
Organizr v." + githubVersion + "");
$( "p[id^='upgrade']" ).toggle();
}else if(currentVersion === githubVersion){