-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
SedLex
committed
Jul 29, 2014
1 parent
025ed4e
commit 4a47f28
Showing
148 changed files
with
24,824 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
5b5e6076511a221de1da7a502d5e06093640a7d8#20140729093932 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<?php | ||
/** | ||
* Core SedLex Plugin Bootstrap | ||
* VersionInclude : 4.0 | ||
*/ | ||
|
||
/* Prevent direct access to this file */ | ||
if (!defined('ABSPATH')) { | ||
exit("Sorry, you are not allowed to access this file directly."); | ||
} | ||
|
||
$url = "" ; | ||
|
||
if (!class_exists('pluginSedLex')) { | ||
$folders = scandir(WP_PLUGIN_DIR) ; | ||
$date = 0 ; | ||
foreach ($folders as $f) { | ||
if ($f != "." && $f != "..") { | ||
if (is_dir(WP_PLUGIN_DIR."/".$f)) { | ||
if (is_file(WP_PLUGIN_DIR."/".$f."/core.nfo")) { | ||
if (is_file(WP_PLUGIN_DIR."/".$f."/core.class.php")) { | ||
$info = explode("#",file_get_contents(WP_PLUGIN_DIR."/".$f."/core.nfo")) ; | ||
// We get the max (< 0 if str1 is less than str2) | ||
if (strcmp($date, $info[1])<0) { | ||
$date = $info[1] ; | ||
$url = WP_PLUGIN_DIR."/".$f."/" ; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
$files = array() ; | ||
|
||
$files[] = $url.'core.php' ; | ||
|
||
$files[] = $url.'core.class.php' ; | ||
$files[] = $url.'core/admin_table.class.php'; | ||
$files[] = $url.'core/tabs.class.php' ; | ||
$files[] = $url.'core/box.class.php' ; | ||
$files[] = $url.'core/browser.class.php' ; | ||
$files[] = $url.'core/debug.class.php' ; | ||
$files[] = $url.'core/feedback.class.php' ; | ||
$files[] = $url.'core/otherplugins.class.php' ; | ||
$files[] = $url.'core/parameters.class.php' ; | ||
$files[] = $url.'core/popup.class.php' ; | ||
$files[] = $url.'core/progress_bar.class.php'; | ||
$files[] = $url.'core/translation.class.php'; | ||
$files[] = $url.'core/text_diff.class.php' ; | ||
$files[] = $url.'core/tree.class.php'; | ||
$files[] = $url.'core/utils.class.php' ; | ||
|
||
foreach ($files as $f) { | ||
if (file_exists($f)) { | ||
require_once($f) ; | ||
} | ||
} | ||
} | ||
|
||
?> |
Oops, something went wrong.