update 1.0.8.0

Commits for version update
This commit is contained in:
Manish Verma
2016-10-17 12:02:27 +05:30
parent dec927987b
commit 76e85db070
9674 changed files with 495757 additions and 58922 deletions

View File

@@ -24,6 +24,7 @@ use Illuminate\Http\Request;
use Input;
use Redirect;
use Session;
use UnAuth;
use View;
/**
@@ -300,7 +301,10 @@ class InstallController extends Controller
$timezone = $request->input('timezone');
$date = $request->input('date');
$datetime = $request->input('datetime');
$changed = UnAuth::changeLanguage($language);
if (!$changed) {
return \Redirect::back()->with('fails', 'Invalid language');
}
// checking requested timezone for the admin and system
$timezones = Timezones::where('name', '=', $timezone)->first();
if ($timezones == null) {
@@ -370,10 +374,12 @@ class InstallController extends Controller
$datacontent2 = File::get($app_url);
$datacontent2 = str_replace('http://localhost', $link, $datacontent2);
File::put($app_url, $datacontent2);
$language = Cache::get('language');
try {
Cache::flush();
Artisan::call('key:generate');
\Cache::forever('language', $language);
return View::make('themes/default1/installer/helpdesk/view6');
} catch (Exception $e) {