Changeset 110787 in spip-zone
- Timestamp:
- Jun 21, 2018, 9:15:44 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_outils_/spip-cli/trunk/src/Loader/Spip.php
r110776 r110787 40 40 public function __construct($directory = null) { 41 41 if (is_null($directory)) { 42 $directory = $this->chercher_racine_spip() ;42 $directory = $this->chercher_racine_spip() ?: getcwd(); 43 43 if ($directory) { 44 44 $this->directory = rtrim(Files::formatPath($directory), DIRECTORY_SEPARATOR);
Note: See TracChangeset
for help on using the changeset viewer.