Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

4.3 #735

Closed
wants to merge 5 commits into from
Closed

4.3 #735

wants to merge 5 commits into from

Conversation

gowrav-vishwakarma
Copy link
Contributor

Nginx Does not throw dynamic subdomain, $app->url()->absolute()->getBaseURL() will show main server_name set in nginx configuration only. HTTP_HOST is better option.

@@ -1,6 +1,7 @@
{
"name": "atk4/atk4",
"name": "xepan/atk4",
Copy link
Member

@romaninsh romaninsh Jun 23, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change is probably a mistake.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep ... :) sure it is ... there are a lot of things i didn't wanted to push

@@ -349,7 +349,7 @@ function verifyCredentials($user, $password)
// Attempt to load user data by username. If not found, return
// false

$data = $this->model->newInstance()->tryLoadBy($this->login_field, $user);
$data = $this->model->tryLoadBy($this->login_field, $user);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

riskier than original, why exactly the change?

@@ -132,7 +132,7 @@ function parseRequestedURL(){
if($https)$url.='s';

// 2. Continue building. We are adding hostname next and port.
$url .= "://".$_SERVER["SERVER_NAME"];
$url .= "://".$_SERVER["HTTP_HOST"];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this still work with apache?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was only change i wanted to push btw 😆

$template=$this->template->cloneRegion('field_input');
$options['show_input_only']=true;
if ($insert_into->template->hasTag($name)) {
if($this->app->getConfig('form/layout/inputonly',true)){
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like some hard-code thing.

// 'addons'=>'addons',
// 'template'=>$templates_folder,
// ))->setBasePath(dirname($base_directory).'/shared');
// }

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, probably to big of a change for legacy projects.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants