Changeset 1811454
- Timestamp:
- 01/29/2018 09:17:04 PM (8 years ago)
- Location:
- dbug/trunk
- Files:
-
- 1 added
- 3 edited
-
README.md (modified) (2 diffs)
-
_plugin.php (modified) (1 diff)
-
vendor/bin (added)
-
vendor/composer/ClassLoader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dbug/trunk/README.md
r1705800 r1811454 4 4 Tags: debug, error log 5 5 Requires at least: 4.0 6 Tested up to: 4. 86 Tested up to: 4.9.2 7 7 Stable tag: trunk 8 8 … … 23 23 24 24 == Changelog == 25 = 1.9.8 = 26 change create_function for php >= 7.2 27 25 28 = 1.9.5 = 26 29 require php 5.4 -
dbug/trunk/_plugin.php
r1768540 r1811454 8 8 Plugin URI: https://github.com/pinecone-dot-website/dbug 9 9 Text Domain: 10 Version: 1.9. 710 Version: 1.9.8 11 11 12 12 This file must be parsable by php 5.2 13 13 */ 14 14 15 register_activation_hook( __FILE__, create_function("", '$ver = "5.4"; if( version_compare(phpversion(), $ver, "<") ) die( "This plugin requires PHP version $ver or greater be installed." );') ); 16 17 require __DIR__.'/index.php'; 15 if (version_compare(phpversion(), '5.4', "<")) { 16 add_action('admin_notices', create_function("", 'function(){ 17 echo "<div class=\"notice notice-success is-dismissible\"> 18 <p>Dbug requires PHP 5.4 or greater</p> 19 </div>"; 20 };')); 21 } else { 22 require __DIR__.'/index.php'; 23 } -
dbug/trunk/vendor/composer/ClassLoader.php
r1768540 r1811454 380 380 $search = $subPath.'\\'; 381 381 if (isset($this->prefixDirsPsr4[$search])) { 382 $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); 382 383 foreach ($this->prefixDirsPsr4[$search] as $dir) { 383 $length = $this->prefixLengthsPsr4[$first][$search]; 384 if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { 384 if (file_exists($file = $dir . $pathEnd)) { 385 385 return $file; 386 386 }
Note: See TracChangeset
for help on using the changeset viewer.