Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-notice
Manage
Activity
Members
Labels
Plan
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-notice
Merge requests
!12
Bugfix/init file
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Bugfix/init file
bugfix/init-file
into
master
Overview
1
Commits
5
Pipelines
1
Changes
1
All threads resolved!
Hide all comments
Merged
Krzysztof Dyszczyk
requested to merge
bugfix/init-file
into
master
6 years ago
Overview
1
Commits
5
Pipelines
1
Changes
1
All threads resolved!
Hide all comments
0
0
Merge request reports
Viewing commit
9e464890
Prev
Next
Show latest version
1 file
+
6
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
9e464890
Code review
· 9e464890
Grzegorz Rola
authored
6 years ago
init.php
+
6
−
7
View file @ 9e464890
Edit in single-file editor
Open in Web IDE
<?php
require_once
'
vendor/autoload.php'
;
require_once
__DIR__
.
'/
vendor/autoload.php'
;
if
(
!
class_exists
(
'\WPDesk\Notice\AjaxHandler'
))
{
require_once
'
src/WPDesk/Notice/AjaxHandler.php'
;
require_once
__DIR__
.
'/
src/WPDesk/Notice/AjaxHandler.php'
;
}
if
(
!
class_exists
(
'\WPDesk\Notice\Notice'
))
{
require_once
'src/WPDesk/Notice/Notice.php'
;
require_once
__DIR__
.
'src/WPDesk/Notice/Notice.php'
;
}
if
(
!
class_exists
(
'\WPDesk\Notice\PermanentDismissibleNotice'
))
{
require_once
'
src/WPDesk/Notice/PermanentDismissibleNotice.php'
;
require_once
__DIR__
.
'/
src/WPDesk/Notice/PermanentDismissibleNotice.php'
;
}
if
(
!
class_exists
(
'\WPDesk\Notice\Factory'
))
{
require_once
'
src/WPDesk/Notice/Factory.php'
;
require_once
__DIR__
.
'/
src/WPDesk/Notice/Factory.php'
;
}
require_once
'src/WPDesk/notice-functions.php'
;
require_once
__DIR__
.
'/src/WPDesk/notice-functions.php'
;
Loading