Modify ↓
Opened 10 years ago
Last modified 6 years ago
#824 new Erweiterung
auto_include
| Reported by: | Volker Strähle | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.1.0.0 |
| Component: | Shop | Version: | 2.0.1.0 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
Sollte nicht die Existenz der Verzeichnisse geprüft und ggf. erstellt werden?
$dir = rtrim($dir,'/');
if (!is_dir($dir)){
trigger_error('Directory '.$dir.' does not exists');
if(defined(AUTOCREATE_MISSING_DIR) && AUTOCREATE_MISSING_DIR == true){
try{
mkdir($dir);
}catch(exception $e){
trigger_error($e->getMessage());
}
}
}
Attachments (0)
Change History (3)
comment:1 by , 10 years ago
| Milestone: | modified-shop-2.00 → modified-shop-2.10 |
|---|---|
| Version: | 2.0 → 2.10 |
comment:2 by , 8 years ago
| Milestone: | modified-shop-2.1.0.0 |
|---|
comment:3 by , 6 years ago
| Milestone: | → modified-shop-2.1.0.0 |
|---|
Note:
See TracTickets
for help on using tickets.
