*.* NOT type:folder
\n\n
\n
/images/html/assets_dd24/ic_log_in.svg
"/images/html/assets_dd24/ic_log_in.svg"
/images/prods/assets_dd24/product_image_1.jpg
"/images/prods/assets_dd24/product_image_1.jpg"
git log --pretty=oneline
git remote -v
[
'host' => 'localhost',
'port' => '3306',
'name' => 'building_recruitment',
'username' => 'root',
'password' => '',
'options' => [
],
],
'errors' => [
'display' => true,
],
'developmode' => true,
];
ssh demo43@demoserv-new.datateks.lv
yes
ls
cd ..
cd ..
ls
cd web
ls
git clone https://gitlab.com/EdijsLev/dd24-constructor.git
move direktory files one level up
delete empty direktory folder
php -v
php71 -v
php71 composer.phar install
Websites->Options->Custom php.ini settings
short_open_tag=On
post_max_size=128M
upload_max_filesize=32M
Ja nevar nosūtīt kontaktu ziņu kopā ar faila pielikumu, tad skatīt šo sadaļu:
common\components\EmailSender\EmailSender.php
foreach ($params->attachments as $key => $attachment) {
if (!is_numeric($key)) {
$mail->addAttachment($key,$attachment);
} else{
$mail->addAttachment($attachment);
}
}
Git global setup
git config --global user.name "Edijs"
git config --global user.email "edijs.darbs.it@gmail.com"
Create a new repository
git clone git@gitlab.com:EdijsLev/dummy.git
cd dummy
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Push an existing folder
cd existing_folder
git init
git remote add origin git@gitlab.com:EdijsLev/dummy.git
git add .
git commit -m "Initial commit"
git push -u origin master
Push an existing Git repository
cd existing_repo
git remote rename origin old-origin
git remote add origin git@gitlab.com:EdijsLev/dummy.git
git push -u origin --all
git push -u origin --tags