Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Photogram
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
V Harish Ragavendher
Photogram
Merge requests
!1
changes with get_config by adding base path
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
changes with get_config by adding base path
push
into
master
Overview
0
Commits
1
Pipelines
0
Changes
9
Merged
V Harish Ragavendher
requested to merge
push
into
master
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
9
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
cbae7e6a
1 commit,
1 year ago
9 files
+
45
−
50
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
App/__templates/__head.php
+
8
−
6
Options
@@ -8,14 +8,16 @@
<link
rel=
"canonical"
href=
"https://getbootstrap.com/docs/5.2/examples/album/"
>
<link
href=
"
/Php/photogram
/App/assets/dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<link
href=
"
<?
get_config
(
" base_path"
)
?>
/App/assets/dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<!--
<?
//print(basename($_SERVER['PHP_SELF'], ".php").".css")
?>
-->
<?
if
(
file_exists
(
$_SERVER
[
'DOCUMENT_ROOT'
]
.
"/Php/photogram
/App/css/"
.
basename
(
$_SERVER
[
'PHP_SELF'
],
".php"
)
.
".css"
))
{
?>
<!--//print(basename($_SERVER['PHP_SELF'], ".php").".css")-->
<?
if
(
file_exists
(
$_SERVER
[
'DOCUMENT_ROOT'
]
.
get_config
(
"base_path"
)
.
"
/App/css/"
.
basename
(
$_SERVER
[
'PHP_SELF'
],
".php"
)
.
".css"
))
{
?>
<link
href="
/Php/photogram
/App/css/
<?=
basename
(
$_SERVER
[
'PHP_SELF'
],
".php"
)
?>
.css"
href=
"
<?=
get_config
(
"base_path"
)
?>
/App/css/
<?=
basename
(
$_SERVER
[
'PHP_SELF'
],
".php"
)
?>
.css"
rel=
"stylesheet"
>
<!-- here we are loading the css file in an autoamted way like we already know document root has the location to htdocs
and after that we are giving the css folder location there we are using base name function from php self which is the
file name we are using for eg: login.php will be in php self means basename will give the output like login and we are
manually adding .css which results the file name -->
<?
}
?>
</head>
\ No newline at end of file
Loading