Log in to your Managed Hosting Server via SSH
Add these two lines to .bashrc:
alias drush='~/drush/drush' | |
alias php='/usr/local/bin/php5-53STABLE-CLI' | |
export DRUSH_PHP=/usr/local/bin/php5-53STABLE-CLI |
<?php | |
/* Script located in the docroot for your Drupal 8 site */ | |
use Drupal\Core\DrupalKernel; | |
use Drupal\Core\Site\Settings; | |
use Symfony\Component\HttpFoundation\Request; | |
$autoloader = require_once __DIR__ . '/core/vendor/autoload.php'; | |
use GuzzleHttp\Client; |
<? if (!empty($image)) : ?> | |
<img src="<?= image_style_url('mini',$image); ?>" alt="Profile image" /> | |
<?php endif; ?> |