From c62bc9c0f155144aab864a3b36f8d422420e0cd8 Mon Sep 17 00:00:00 2001 From: Jan Vais Date: Thu, 7 Mar 2019 12:09:36 +0100 Subject: [PATCH] =?UTF-8?q?zm=C4=9Bna=20apt=20->=20yum,=20oprava=20cest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 2 +- index.php | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 780c7a9..8ee1ec6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ Upload to webserver: only: - master script: - - apt-get update -qq && apt-get install -y -qq lftp + - yum install -y lftp - | lftp -c "set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; \ mirror -Rev ./ ./www --ignore-time --parallel=10 \ diff --git a/index.php b/index.php index c44e488..36e00d2 100644 --- a/index.php +++ b/index.php @@ -61,31 +61,31 @@ $sors = array( ), array( "name" => "Informační tech.", - "url" => "http://seznamovak.pedf.cuni.cz/it/", + "url" => "http://seznamovak.pedf.cuni.cz/weby/it/", "img" => "it.svg", "alt" => "Logo Informační technologie", ), array( "name" => "Český jazyk", - "url" => "http://seznamovak.pedf.cuni.cz/it/", + "url" => "http://seznamovak.pedf.cuni.cz/weby/it/", "img" => "cj.svg", "alt" => "Logo Český jazyk", ), array( "name" => "Pedagogika", - "url" => "http://seznamovak.pedf.cuni.cz/it/", + "url" => "http://seznamovak.pedf.cuni.cz/weby/it/", "img" => "pg.svg", "alt" => "Logo pedagogika", ), array( "name" => "Matematika", - "url" => "http://seznamovak.pedf.cuni.cz/it/", + "url" => "http://seznamovak.pedf.cuni.cz/weby/it/", "img" => "ma.svg", "alt" => "Logo Matematika", ), array( "name" => "Hudební výchova", - "url" => "http://seznamovak.pedf.cuni.cz/it/", + "url" => "http://seznamovak.pedf.cuni.cz/weby/it/", "img" => "hv.svg", "alt" => "Logo Hudební výchova", ), @@ -109,13 +109,13 @@ $sors = array( ), array( "name" => "Francouzský jazyk", - "url" => "fj.php", + "url" => "./weby/fj.php", "img" => "fj.svg", "alt" => "Logo Francouzský jazyk", ), array( "name" => "Německý jazyk", - "url" => "nj.php", + "url" => "./weby/nj.php", "img" => "nj.svg", "alt" => "Logo Německý jazyk", ),