@@ -6,27 +6,27 @@ |
||
| 6 | 6 | |
| 7 | 7 | class ComposerStaticInit8c920a9ce68d92f821701ab2e03316d3 |
| 8 | 8 | { |
| 9 | - public static $prefixLengthsPsr4 = array ( |
|
| 9 | + public static $prefixLengthsPsr4 = array( |
|
| 10 | 10 | 'g' => |
| 11 | - array ( |
|
| 11 | + array( |
|
| 12 | 12 | 'geoPHP\\' => 7, |
| 13 | 13 | ), |
| 14 | 14 | ); |
| 15 | 15 | |
| 16 | - public static $prefixDirsPsr4 = array ( |
|
| 16 | + public static $prefixDirsPsr4 = array( |
|
| 17 | 17 | 'geoPHP\\' => |
| 18 | - array ( |
|
| 19 | - 0 => __DIR__ . '/..' . '/funiq/geophp/src', |
|
| 18 | + array( |
|
| 19 | + 0 => __DIR__.'/..'.'/funiq/geophp/src', |
|
| 20 | 20 | ), |
| 21 | 21 | ); |
| 22 | 22 | |
| 23 | - public static $classMap = array ( |
|
| 24 | - 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', |
|
| 23 | + public static $classMap = array( |
|
| 24 | + 'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php', |
|
| 25 | 25 | ); |
| 26 | 26 | |
| 27 | 27 | public static function getInitializer(ClassLoader $loader) |
| 28 | 28 | { |
| 29 | - return \Closure::bind(function () use ($loader) { |
|
| 29 | + return \Closure::bind(function() use ($loader) { |
|
| 30 | 30 | $loader->prefixLengthsPsr4 = ComposerStaticInit8c920a9ce68d92f821701ab2e03316d3::$prefixLengthsPsr4; |
| 31 | 31 | $loader->prefixDirsPsr4 = ComposerStaticInit8c920a9ce68d92f821701ab2e03316d3::$prefixDirsPsr4; |
| 32 | 32 | $loader->classMap = ComposerStaticInit8c920a9ce68d92f821701ab2e03316d3::$classMap; |
@@ -6,5 +6,5 @@ |
||
| 6 | 6 | $baseDir = dirname($vendorDir); |
| 7 | 7 | |
| 8 | 8 | return array( |
| 9 | - 'geoPHP\\' => array($vendorDir . '/funiq/geophp/src'), |
|
| 9 | + 'geoPHP\\' => array($vendorDir.'/funiq/geophp/src'), |
|
| 10 | 10 | ); |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | public static function loadClassLoader($class) |
| 10 | 10 | { |
| 11 | 11 | if ('Composer\Autoload\ClassLoader' === $class) { |
| 12 | - require __DIR__ . '/ClassLoader.php'; |
|
| 12 | + require __DIR__.'/ClassLoader.php'; |
|
| 13 | 13 | } |
| 14 | 14 | } |
| 15 | 15 | |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | return self::$loader; |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | - require __DIR__ . '/platform_check.php'; |
|
| 25 | + require __DIR__.'/platform_check.php'; |
|
| 26 | 26 | |
| 27 | 27 | spl_autoload_register(array('ComposerAutoloaderInit8c920a9ce68d92f821701ab2e03316d3', 'loadClassLoader'), true, true); |
| 28 | 28 | self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); |
@@ -30,21 +30,21 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); |
| 32 | 32 | if ($useStaticLoader) { |
| 33 | - require __DIR__ . '/autoload_static.php'; |
|
| 33 | + require __DIR__.'/autoload_static.php'; |
|
| 34 | 34 | |
| 35 | 35 | call_user_func(\Composer\Autoload\ComposerStaticInit8c920a9ce68d92f821701ab2e03316d3::getInitializer($loader)); |
| 36 | 36 | } else { |
| 37 | - $map = require __DIR__ . '/autoload_namespaces.php'; |
|
| 37 | + $map = require __DIR__.'/autoload_namespaces.php'; |
|
| 38 | 38 | foreach ($map as $namespace => $path) { |
| 39 | 39 | $loader->set($namespace, $path); |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - $map = require __DIR__ . '/autoload_psr4.php'; |
|
| 42 | + $map = require __DIR__.'/autoload_psr4.php'; |
|
| 43 | 43 | foreach ($map as $namespace => $path) { |
| 44 | 44 | $loader->setPsr4($namespace, $path); |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | - $classMap = require __DIR__ . '/autoload_classmap.php'; |
|
| 47 | + $classMap = require __DIR__.'/autoload_classmap.php'; |
|
| 48 | 48 | if ($classMap) { |
| 49 | 49 | $loader->addClassMap($classMap); |
| 50 | 50 | } |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * |
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | -require_once __DIR__ . '/vendor/autoload.php'; |
|
| 21 | +require_once __DIR__.'/vendor/autoload.php'; |
|
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * DokuWiki Plugin geophp (Helper Component). This pseudohelper provides access to geoPHP. |
@@ -33,8 +33,8 @@ discard block |
||
| 33 | 33 | $conf['allowdebug'] = 1; |
| 34 | 34 | $conf['cachetime'] = -1; |
| 35 | 35 | |
| 36 | - if($conf['allowdebug']) { |
|
| 37 | - touch(DOKU_TMP_DATA . 'cache/debug.log'); |
|
| 36 | + if ($conf['allowdebug']) { |
|
| 37 | + touch(DOKU_TMP_DATA.'cache/debug.log'); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | plugin_load('helper', 'geophp'); |
@@ -51,10 +51,10 @@ discard block |
||
| 51 | 51 | |
| 52 | 52 | global $conf; |
| 53 | 53 | // try to get the debug log after running the test, print and clear |
| 54 | - if($conf['allowdebug']) { |
|
| 54 | + if ($conf['allowdebug']) { |
|
| 55 | 55 | print "\n"; |
| 56 | - readfile(DOKU_TMP_DATA . 'cache/debug.log'); |
|
| 57 | - unlink(DOKU_TMP_DATA . 'cache/debug.log'); |
|
| 56 | + readfile(DOKU_TMP_DATA.'cache/debug.log'); |
|
| 57 | + unlink(DOKU_TMP_DATA.'cache/debug.log'); |
|
| 58 | 58 | } |
| 59 | 59 | } |
| 60 | 60 | } |