Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
Leed-market
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Adrien Dorsaz
Leed-market
Commits
cb940330
Commit
cb940330
authored
Oct 21, 2014
by
Adrien Dorsaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[themeswitcher] Fixe le bug #79 et incrémente la version
parent
a0869fb0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
themeswitcher/themeswitcher.plugin.disabled.php
themeswitcher/themeswitcher.plugin.disabled.php
+4
-1
No files found.
themeswitcher/themeswitcher.plugin.disabled.php
View file @
cb940330
...
...
@@ -4,7 +4,7 @@
@author Simounet <contact@simounet.net>
@link http://www.simounet.net
@licence CC BY-SA
@version 1.0.
0
@version 1.0.
1
@description Le plugin ThemeSwitcher permet de changer de thème via la page de gestion.
*/
...
...
@@ -34,6 +34,9 @@ function themeswitcher_plugin_AddForm(){
}
function
themeswitcher_plugin_change
(){
$myUser
=
(
isset
(
$_SESSION
[
'currentUser'
])
?
unserialize
(
$_SESSION
[
'currentUser'
])
:
false
);
if
(
$myUser
===
false
)
exit
(
_t
(
'P_THEMESWITCHER_CONNECTION_ERROR'
));
$fileName
=
'constant.php'
;
$searchfor
=
'marigolds'
;
$file
=
file_get_contents
(
$fileName
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment